Your own pass for GBuffer for v7 #657
Replies: 1 comment
-
Hi, the postprocessing/src/passes/GeometryPass.ts Line 114 in 32819bd gBufferConfig through the constructor options: postprocessing/src/passes/GeometryPass.ts Line 185 in 32819bd Additionally, you'll have to modify three's built-in materials with custom shader code to render to the additional gBuffer textures. You can check ShaderChunkExtensions for reference. Please not that this feature hasn't been tested extensively, so there might be bugs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi. Please tell me how to add my own pass to GBuffer for v7? Let's say some GBuffer.COLOR2 where the base color will be rendered into the texture
Beta Was this translation helpful? Give feedback.
All reactions