Search Issue Tracker
By Design
Votes
0
Found in
5.3.0f4
Issue ID
760127
Regression
No
Surface shader analysis not using 32-bit floats for fixed/half/float/double types
Reproduction steps:
1. Open attached Unity project.
2. Open "Bug scene".
3. Notice, that "Sphere" game object is black.
4. Open "Bug" shader and change line 25 to "o.Normal.z *= 1.0001;".
5. Notice, that "Sphere" gets colored.
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGL build dependencies are not refreshed until the Editor is restarted
- “Audio Random Container” allows adding unlimited number in “Audio Clips” numeric field, causing Editor to freeze
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
Aras
Aug 25, 2017 09:51
By design; writes to o.Normal in surface shader make it become a tangent space normal -- hence it turns blue.