Hi, John

Error log looks like shader uses vertex texture fetch, and you should use 
texture2DLod instead of texture2D, because in vertex shader GPU doesn't know 
which mipmap to use. It has no way to compute the lambda factor. You need to 
choose the mipmap in the VS yourself. So either there are error in shader or 
fragment shader loads as vertex shader.

At first try to change texture2D(... , ... ) to texture2DLod(..., ..., 0), that 
should solve problem.

Cheers,
Sergey

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39534#39534




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

Reply via email to