So this is the code to dynamically change any light’s intensity
But what if you need to dynamically change the Environment light intensity, similar to the effect if you change the Intensity Multiplier in the Inspector?
So this is the code to dynamically change any light’s intensity
But what if you need to dynamically change the Environment light intensity, similar to the effect if you change the Intensity Multiplier in the Inspector?
I think it is in the RenderSettings object… haven’t looked in a while though.
Have you tried
RenderSettings.ambientIntensity ?
This must work …
This does not.
Does not work for me too. I´m using HDRP and trying to change “intensity multiplier” of a directional light. Someone can help?
Its RenderSettings.reflectionIntensity