In the builtin render pipeline _LightColor0
is a pretty convenient variable, if you want to grab the color/intensity of a light. However, in URP, _LightColor0
is no longer valid for point lights, instead they are grabbed via GetAdditionalLights
in Lighting.hlsl
.
In the light struct, the color variable, is equal to the Light’s baseColor * intensity
. If the baseColor
and intensity
can be any value, is there a convenient way to determine the intensity of the point light?
I’m currently on URP 12.1.6.