Hi. I have a problem with the geometric shader when using <layout (points) in> the geometry is not rendered even though I convert the SOP geometry to particles.
del.toe (4.8 KB)
Hi. I have a problem with the geometric shader when using <layout (points) in> the geometry is not rendered even though I convert the SOP geometry to particles.
del.toe (4.8 KB)
Hey,
All vertices emitted from geometry shader have the exact same coordinates, therefore no surface is rendered. Giving each vertex a small offset “reveals” the geometry.
As far as I know a triangle strip contains exactly 3 vertices. To draw a square you’d have to split the quad into two triangles, emitting 6 vertices in total (call EndPrimitive() after each set of three).
The Particle Type of the convert node was set to “Lines”. Works nevertheless, but changing it to “Point Sprite” gives a feeling of more consistency.
del_v2.toe (4.9 KB)
Thanks a lot for your answer:slightly_smiling_face: