How to determine the index ID in a vertex shader : r/opengl

文章推薦指數: 80 %
投票人數:10人

For example: If I have vertices v0,v1,v2 etc And indexes 0, 1, ... Then you can use gl_VertexID to individually access these two vertices. Foundtheinternet!Sorry,forsomereasonredditcan'tbereached.Retry Advertisement



請為這篇文章評分?