Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actuallomateron

Posted 04 March 2013 - 04:35 PM

This is the first time i am rendering to a 3Dtexture, from what i read I can only render to one 2D slice of the 3DTexture with a quad.

I want to render to all the texels so I have to clone those quads and each one renders to a different layer of the 3d texture, so i have this question.

 

When rendering to all the texels of that texture what is faster

- Using drawIndexedInstanced so every intance draws quad to each layer of the 3Dtexture

-Make the geometry shader clone the quads and each one render to different layer

 

the 3Dtexture is 100X100X100


#1lomateron

Posted 04 March 2013 - 04:33 PM

This is the first time i am rendering to a 3Dtexture, from what i read I can only render to one 2D slice of the 3DTexture with a quad.

I want to render to all the texels so I have to clone those quads and each one renders to a different layer of the 3d texture, so i have this question.

 

When rendering to all the texels of that texture what is faster

- Using drawIndexedInstanced so every intance draws quad to each layer of the 3Dtexture

-Make the geometry shader clone the quads and each one render to different layer


PARTNERS