Hi, How can I get the ambient color in my pixel shader? I don't want _PPLAmbient because that isn't the ambient color but a processed value it seems. If I set the ambient color to white _PPLAmbient doesn't get white. Thanks, //ohm
_PPLAmbient should be the global ambient lighting colour as set in Render Settings. Can you perhaps post the code where it's not working?
Actually, if I recall correctly, _PPLAmbient is pre-multiplied by 0.5 due to the doubling performed in Unity's standard lighting equation.