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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment