Related to #43957.
Godot version
4.0.dev (536757b)
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 470.74)
Issue description
The SSAO Ao Affect property no longer has any effect, but it's still present in WorldEnvironment. Quoting from #45023:
-SSAO ao affect is gone because this confused users, min(ao,ssao) now used, should work in most cases.
I tried to remove this property in https://github.com/Calinou/godot/tree/remove-ao-channel-affect but didn't succeed yet.
By the way, the Ssao > Light Affect property in WorldEnvironment also seems to have no effect. Only the BaseMaterial3D ambient occlusion Light Affect property seems to have an effect on AO appearance, on both the AO map and SSAO. This is likely a bug though, as I'd expect the material property to only influence the AO map, not SSAO.
Steps to reproduce
- Create a MeshInstance with a BoxMesh and StandardMaterial3D.
- Assign an ambient occlusion map to the material.
- Enable SSAO in WorldEnvironment.
- Adjust Ao Channel Affect in WorldEnvironment, and notice how it has no effect on the scene.
Minimal reproduction project
test_ssao_ao_affect.zip
Related to #43957.
Godot version
4.0.dev (536757b)
System information
Fedora 34, GeForce GTX 1080 (NVIDIA 470.74)
Issue description
The SSAO Ao Affect property no longer has any effect, but it's still present in WorldEnvironment. Quoting from #45023:
I tried to remove this property in https://github.com/Calinou/godot/tree/remove-ao-channel-affect but didn't succeed yet.
By the way, the Ssao > Light Affect property in WorldEnvironment also seems to have no effect. Only the BaseMaterial3D ambient occlusion Light Affect property seems to have an effect on AO appearance, on both the AO map and SSAO. This is likely a bug though, as I'd expect the material property to only influence the AO map, not SSAO.
Steps to reproduce
Minimal reproduction project
test_ssao_ao_affect.zip