
logo done by
asphyx
::
pouët.net is hosted on the huge
scene.org servers
|
GLSL Geometry Shader Question? |
| category: code |
|
|
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? |
|
|
|
No. It's always in the call order. |
|
|
|
i have a bug to fix then. thank you. |
|
|
|
|
|
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.