Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.1p4
Issue ID
765145
Regression
No
[Shader] Occlusion breaks if alpha is dependent to another UV/Texture set
Repro steps:
1) Open the project and AmbientOcclusion.scene
2) Notice four spheres in it - only one - 'DoesWork' shows Ambient Oclussion text on the sphere
3) If you open ShaderWorking.shader, you will notice, that the o.Alpha is dependent on Texture2.a and UV2 set
4) If you open ShaderNotWorking.shader, you will notice, that the o.Alpha is equal to the Alpha of the first texture and thus, is not working
Workaround: use 2nd UV set's data
Reproduced in: 5.4.0b3; 5.3.2p1; 5.2.3p3; 5.1.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scene/Game view visually breaks and console is spammed with errors when using DepthBlit Sample Scene
- "GetOrAddComponent" method in "Unity.VisualScripting" returns "MissingComponentException" error when the "BoxCollider" Component doesn't exist
- Render Graphs Kebab Menu Buttons are missing padding and Highlight is uneven when hovered over
- Shader Keywords are not detected when defined in include files
- Right-clicking on Blackboard and Graph Inspector calls the contextual menu of the workspace
Add comment