Skip to main content
GameDev.net gamedev.net
🔒 Locked

Coping between texture3D layers

Started by Matso Jan 19, 2012 at 1:35 PM 0 replies 1.2k views
Original Post
Matso
Matso
Hi,
Is there a function in OpenGL or a 'formula' to copy pixels from one texture3D layer to another? One thing that comes to my mind to use a fragment shader with source layer bound to texture unit and destination layer attached to bound framebuffer. But is that possible? Of course I could do it with normal texture2Ds (as mentioned input and output of the shader) but then I would need to copy the result back to the texture3D, I think. Is that right? Any ideas?

Regards,
MK

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.