New answers tagged

0

Although according to the OpenGL standard you should be allowed to specify whichever location you want, some drivers have specific locations for legacy uses. Specifying locations may cause conflicts with those. For example: https://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/attributes.php NVidia hardware indices are reserved for built-in ...


0

Ok so I've discovered that if I remove the layout qualifiers from the input/output blocks, like this out VS_OUT_GS_IN { vec3 pos; vec3 normal; vec2 texc; } vs_out; and like this in the geometry shader in VS_OUT_GS_IN { vec3 pos; vec3 normal; vec2 texc; } gs_in[]; it produces the expected results. But why does it not work ...



Top 50 recent answers are included