Custom off-screen buffer prepass #10501
Unanswered
Bcompartment
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Im not rendering expert, so i try to find example of material writing some data(vec4) to custom texture before main rendering. And use this texture in screen post FX just like i can use depth texture. Its should be simular to stencil buffer, so material writes to texture only if it visible (not behind object). In example image torus is both rendered and used as mask with custom data.

Beta Was this translation helpful? Give feedback.
All reactions