Hi,
I am trying to understand better how LWRP works, especially the stuff that I shouldn’t care about because it’s supposed to work as it is (but it doesn’t in my case).
some clarification first:
#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS
in the documentation I read what _ is about, but the documentation actually specify that it should be __. Is it the same thing?
When is _ADDITIONAL_LIGHTS chose over _ADDITIONAL_LIGHTS_VERTEX ?
And now my question: I can’t understand how to read the ambient light (the new one with the three terms). My shaders do not take ambient light in consideration and I can’t figure out why.
I am using LightweightFragmentPBR, forward rendering, NO GI, NO LM, NO probles, only one directional light atm.