Skip to content

Conversation

@slipher
Copy link
Member

@slipher slipher commented Aug 6, 2025

Fixes #1616. Same trick as #1704 for fixing depth fade - insert a texture barrier so that reading the depth texture is valid.

Some depth-writing stuff such as polygonOffset decals and alpha-tested textures is rendered after SSAO is done, so in general we need to do the texture barrier twice (if SSAO is on).

Fixes DaemonEngine#1616. Same trick as DaemonEngine#1704 for fixing depth fade - insert a
texture barrier so that reading the depth texture is valid.

Some depth-writing stuff such as polygonOffset decals and alpha-tested
textures is rendered after SSAO is done, so in general we need to do the
texture barrier twice (if SSAO is on).
@slipher slipher merged commit 6ec7fb3 into DaemonEngine:master Aug 7, 2025
9 checks passed
@slipher slipher deleted the ssaofix branch August 7, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSAO doesn't work with material system

3 participants