Search Issue Tracker
Won't Fix
Won't Fix in 5.6.X
Votes
0
Found in
5.6.1f1
Issue ID
963637
Regression
No
WorldNormalVector using in surface shader can't get proper value in GI computing function
How to reproduce:
1. Download attached project file and open "Normal" Scene (you can see the Sphere in black color)
2. Open 'NewBakeShader' shader and turn on the last line in surf function
Actual result: WorldNormalVector using in surface shader can't get proper value in GI computing function, but if I return WorldNormalVector directly as final color I can get the right value
Reproduced with: 5.5.5f1, 5.6.4f1, 2017.1.2p2, 2017.2.0p1, 2017.3.0b7, 2018.1.0a2
With 2018.1.0a2 Sphere becomes white. On Shader inspector, error appears: Redefinition of "surfInputVertexNormal"
With 5.5.5f1 Sphere still appears black with the last line in surf function
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Add comment