+2
Environment lighting not working for Deferred render path in SF 1.38 in Unity 2017.3.1
To reproduce:
1) Make a simple deferred shader in Shader Forge
2) Make sure Unity is using the Deferred path under all the tiers in the Graphics settings
3) Make a material and drag it on an object
It won't use environment lighting.
Cube on the left uses a forward shader, which does work and shows how it should look. Cube on the right uses the deferred shader.
Customer support service by UserEcho
This should fix this issue while we wait for an update. Might also give a hint to the tool's dev.
float3 normDir;
return ShadeSH9(half4(normDir, 1.0));
have the same bug! Cannot use unity 17.3 :(