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.
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
- Property fields overlap in the Override window when comparing changes
- "Timeflow Animation System" custom package appears twice in the Package Manager
- Sprite Atlas Override for iOS setting remains disabled when saving its change to enabled
- Increased Memory usage when Update Mode 'On Demand' Realtime lights are used and DX12 API is selected
- Shader warnings in URP ShaderGraph when using the Normal From Texture node
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.