winterNebs Posted August 25, 2020 Share Posted August 25, 2020 Hi, I am writing a tile texture generator in which I need to stich 4 textures together, with multiple different combinations of textures. Instead of making the sprites I want to pregenerate them by creating the combined textures together instead of having multiple sprites. i saw that PIXI.RenderTexture was recommended, but reading the documentation doesn't seem to help, and I can't seem to get a working example. Included I created a fiddle, if someone can provide me with a working version, that is probably enough to get me going. https://www.pixiplayground.com/#/edit/joTwLMK7DcA0uek3o3MPe Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 25, 2020 Share Posted August 25, 2020 You have to use the same renderer as in application . "app.renderer.render(...)". RenderTexture exists only for same renderer. Quote Link to comment Share on other sites More sharing options...
winterNebs Posted August 25, 2020 Author Share Posted August 25, 2020 8 hours ago, ivan.popelyshev said: You have to use the same renderer as in application . "app.renderer.render(...)". RenderTexture exists only for same renderer. Ah okay I'll try that and see how that goes. Quote Link to comment Share on other sites More sharing options...
winterNebs Posted August 25, 2020 Author Share Posted August 25, 2020 looks like that worked! thanks ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.