Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
11
Issue ID
1305556
Regression
No
Ambient Occlusion doesn't work when Specular Occlusion is disabled
Ambient occlusion doesn't work on HDRP Materials (Lit) or ShaderGraph materials when the Specular Occlusion is set to Off.
Repro steps:
- Create a new HDRP Material
- Make sure you have bright visible ambient lighting in your scene.
- Assign a mask map (a white gradient for example) to set the ambient occlusion of the material.
- Put the material on an object in the scene, and play with the ambient occlusion remap slider
- Notice that it changes correctly
- Disable the Specular Occlusion in the material advanced settings
- Ambient Occlusion doesn't work anymore
Alternative repro with ShaderGraph:
- Create a new Lit ShaderGraph and exposed a slider between 0 and 1 connected to the ambient occlusion block.
- Create a new Material from this ShaderGraph and play with the slider you exposed.
- Notice that nothing changes.
- When you set Specular Occlusion to "From AO" in the ShaderGraph it fixes the issue.
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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note:
This is expected behavior