HOw get vertex coordinates?
Through variable gl_VertexID?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=31858#31858
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscen
Hi,
How can I pass vertices in GLSL1.4 shaders
How can I pass values to "in vec4 vertex"
Code example.
Code:
#version 150
uniform mat4 projectionMatrix; //Specifies that the value is passed to the
shader from the
application and is constant across a given primitive.
uniform mat4 modelViewMat
2 matches
Mail list logo