jinsei wrote: > but when I check the texture data from the fragment code with > ivec3 color=texture2D(texture1,0); >
Without any complaints by the shader compiler? :? Anyway - assuming Code: uniform isampler2D texture1; try Code: ivec4 color = texture(texture1, vec2(0.)); Regards, S. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60103#60103 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

