Skip to content

What's the proper way to go about render_to_texture in 2D? #5627

Answered by Teajey
Teajey asked this question in Q&A
Discussion options

You must be logged in to vote

I've found my mistake was attaching my render target to an ImageBundle rather than a SpriteBundle. That's about the extent of my understanding.

Now I'm dealing with a problem where my UI is rendering to both cameras, but that's another story 🙂🙂

It would be really nice to see an example of how to properly render to texture in 2D; would probably make for a simpler example too!

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@Teajey
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Teajey
Comment options

You must be logged in to vote
1 reply
@Teajey
Comment options

Comment options

You must be logged in to vote
2 replies
@Teajey
Comment options

@rumbogs
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants