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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This is expected behavior