Added suport for writing to gl_ClipVertex
This commit is contained in:
parent
88e8b1ede0
commit
9d5a22a0aa
@ -9,5 +9,9 @@ char text_vert[] = "$OSG_GLSL_VERSION\n"
|
|||||||
" gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n"
|
" gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;\n"
|
||||||
" texCoord = gl_MultiTexCoord0.xy;\n"
|
" texCoord = gl_MultiTexCoord0.xy;\n"
|
||||||
" vertexColor = gl_Color;\n"
|
" vertexColor = gl_Color;\n"
|
||||||
|
"\n"
|
||||||
|
"#ifndef GL_ES\n"
|
||||||
|
" gl_ClipVertex = gl_ModelViewMatrix * gl_Vertex;\n"
|
||||||
|
"#endif\n"
|
||||||
"}\n"
|
"}\n"
|
||||||
"\n";
|
"\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user