Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Coping between texture3D layers


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 -=cmaster.matso=-   Members   -  Reputation: 108

Like
0Likes
Like

Posted 19 January 2012 - 07:35 AM

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

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS