marsspider Posted June 7, 2018 Share Posted June 7, 2018 I'm trying to merge 2D Pixi graphic into a Threejs scene. I'm using PIXI.RenderTexture to generate a texture of a Pixi sprite but now i need to pass it as a sampler2D to a Threejs shader. Is it possible? How can i extract uSampler from the texture to pass it to the shader? PS: i don't want to use WebGlExtract to generate canvas, or image, or base64 data fro the new texture, those will kill performances.. Thanks to anyone will answer! Mars ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
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.