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
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
Add comment