How can I perform a pass to two textures simultaneously, similar to a GeometryPass (for v7)? #666
Replies: 1 comment
-
hmm, just a mistake in the assignment of the render target. Sorry, I'm closing the question |
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
-
The task is as follows: there’s a class LightPass (a subclass of Pass) that should render to two textures. Then there's a class ComposeEffect (a subclass of Effect) that should use these two textures.
It sounds straightforward, but it’s not working. Here’s the simplified code of everything.
In the end, the ComposeEffect renders only using the color from one texture and doesn’t recognize the second one.
Beta Was this translation helpful? Give feedback.
All reactions