Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi, I tried using gl_Vertex in the vertex shader, but it doesn't seem to work in Copperlicht. When using it in the tutorial 5 it gives this error message: Error loading vertex shader: ERROR: 0:4: 'gl_Vertex' : undeclared identifier Could not create shader program Got any ideas what I'm doing wrong? Here's the shader: var vertex_shader_source = "\ If I change the gl_Vertex to gl_Position, it compiles just fine. |
||||
|
Hm, gl_Vertex doesn't work, no.Not sure why it should, though? Just use gl_Position. |
|