Hello.

I have managed to solve the problem with the 2 warnigs (by removing
materials and shades from cessna.osg.

Still cant solve the invalid enumerant. I use osgsimplegl3 as it is but
with more simple shaders and seting version to 3.2


Vertex
----------
#version 150
uniform mat4 osg_ModelViewProjectionMatrix;
in vec4 osg_Vertex;
void main(){
    gl_Position = osg_ModelViewProjectionMatrix * osg_Vertex;
}



Frag
-------
#version 150
out vec4 fragData;
void main(){
    fragData = vec4(1,0,0,1);
};


What can possibly cause this problem ?
Has anyone run osgsimplegl3 example using opengl 3.2 ?

thnx.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to