Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Get light value at a certain location

Discussion in 'Global Illumination' started by Infernal_Axel, Oct 16, 2019.

  1. Infernal_Axel

    Infernal_Axel

    Joined:
    May 12, 2019
    Posts:
    10
    Hello everyone,
    I'm trying to figure out how to find the value of "brightness" of a 3D point in the scene.

    I'm new into Unity shaders and global illumination, but if I understand correctly shaders use a light model to calculate the final color of a point that has to be drawn on screen.

    Is it possible to use the same lighting model to calculate the value of "brightness" of any point in the scene?

    Any smart alternative is also very well accepted.

    Thank you!