- Home /
Question by
ZackOfAllTrades · Dec 06, 2017 at 11:56 PM ·
shadersshader programminggeometry shader
How to set an index buffer primitive restart value.
I need my geometry shader to restart the primitive it is drawing based off of a value inside the index buffer I am using.
The openGL equivalent is here: https://www.khronos.org/opengl/wiki/Vertex_Rendering#Primitive_Restart
Comment
Your answer
Follow this Question
Related Questions
vertex and geometry shader change with distance 0 Answers
Add transparency to sprite shader with cast shadows and receive shadows and lighting 2 Answers
Issue with scaling shader and non-zero local position 0 Answers
Shader: texture sample exact pixel value 1 Answer
How to move alpha mask along the floor plane as the user (camera) moves 1 Answer