Search Issue Tracker
By Design
Votes
1
Found in
4.1.0f4
Issue ID
538136
Regression
No
[Custom] Surface shader with a worldNormal calculated and set to the surface normal using deferred rendering doesn't work on nvi
Reproduced on 4.2.0a4
1) What happened
Using a surface shader with a worldNormal calculated and set to the surface normal, combined with deferred rendering works correctly on ATI cards. However on NVIDIA hardware the lighting isn't effecting the shader.
In forward rendering the lighting does not effect the shader on ATI cards as well.
2) How can we reproduce it using the example you attached.
Open the scene under NormalDeferredBug/normal_deferred_bug.unity
Play the scene on an ATI card and notice the cloth is bright. On NVIDIA hardware the cloth is unaffected by any kind of light
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment