Skip to content
Snippets Groups Projects
Commit d11e242b authored by Alexander Rose's avatar Alexander Rose
Browse files

fix background occlusion handling

parent 3bf4a8f8
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ Note that since we don't clearly distinguish between a public and private interf
## [Unreleased]
- Optimize inter unit bond compute
- Improve SSAO for thin geometry (e.g. lines)
## [v3.35.0] - 2023-05-14
......
......@@ -114,7 +114,7 @@ void main(void) {
vec2 selfPackedDepth = packUnitIntervalToRG(selfDepth);
if (isBackground(selfDepth)) {
gl_FragColor = vec4(packUnitIntervalToRG(0.0), selfPackedDepth);
gl_FragColor = vec4(packUnitIntervalToRG(1.0), selfPackedDepth);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment