I've researched deeper into my normal maps not working after fixing those shader errors that have been reported under OS X, and found out that in my pass1VS ( http://goo.gl/sT7m7n ) Tangent attribute is always (0, 0, 0). I get it from osgUtil::TangentSpaceGenerator. Any clues? Thanks.
2014-06-26 17:51 GMT+07:00 Sebastian Messerschmidt < [email protected]>: > Hi Michael, > > The shader code seems indeed to be faulty and I found the errors generated > quite appropriate. Maybe your driver in the Linux is quite sloppy and uses > some extensions. Nvidia for instance allows all sort of non-standard > functions ( hlsl saturate etc.) > I usually use ATI Shader Analyzer. It seems to stick to the GLSL > specifications very tightly [1]. > Unfortunately I'm on vacation and don't have my developer laptop with me, > so I cannot check directly. > > [1] http://developer.amd.com/tools-and-sdks/graphics- > development/gpu-tools/gpu-shaderanalyzer/#download > > Cheers > Sebastian > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

