Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

Issue ID

672335

Regression

Yes

ShaderForge PrePass shaders use wrong keyword in 5.0

Shaders

-

Shaders for deferred lighting made with ShaderForge use HDR_LIGHT_PREPASS_ON keyword instead of UNITY_HDR_ON. Resulting in lighting being inverted in deferred lighting when HDR is on.

See http://forum.unity3d.com/threads/using-legacy-deferred-renderer-with-legacy-shaders-giving-inverted-lighting.298033

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.