done by asphyx
logo done by asphyx :: pouët.net is hosted on the huge scene.org servers




GLSL Geometry Shader Question?
category: code
go to page of 1  
I'm trying to understand and use geometry shaders for a mesh generation problem with non-rendering purposes.

In a setup where the shader receives GL_TRIANGLES and emits GL_TRIANGLE_STRIP, I send all vertices three at a time with glBegin(GL_TRIANGLES). Shader correctly receives primitives three vertices at a time.

Can the vertices inside gl_PositionIn be sometimes in different orders than glVertex commands I execute on the host side or are they always FIFO?
added on the 2010-08-01 13:45:39 by Optanes  
Optanes
No. It's always in the call order.
added on the 2010-08-01 14:56:25 by xernobyl  
xernobyl
i have a bug to fix then. thank you.
added on the 2010-08-01 19:26:09 by Optanes  
Optanes
go to page of 1  

post a new reply
You need to be logged in to post a new reply :: register here





pouët.net 0.9-121f832 © 2000-2013 mandarine - hosted on scene.org
send comments and bug reports to webmaster@pouet.net - contribute on GitHub
page created in 0.015816 seconds.