Hi, On Thu, 2011-03-24 at 08:22 +0100, Josef Grunig wrote: > Hi Gerrit, > > > Can you try the testSHLXXXX_shaderprog examples just to be sure nothing > > crept > > into the compat implementation. I had a attribute aliasing problem on OSX > > recently. > > testSHLXXXX_shaderprog is not working too, > > > Oh and could you try the testSHLGeomteryShader example, that was the only > > one > > working on OSX interestingly. > > Uhm, I don't have the geometry_shader4 extension, so its crashing at > first render. > > I noticed that the shader works by adding the material directly on a > Polygon Foreground instead of the sphere. > Quite strange...
not quite ;), the opposite is true, it seems the attribute aliasing goes wrong and one can use the like of gl_Vertex in the shader only if one does not use the Attrib calls to pass vertex arrays. I'll see if I can find a quick solution as I won't have the full attrib mapping ready for some time. Unfortunately I does not seem as easy as on the OSX side ;(. > As I come from 1.8 I used automatically the SHLChunk. Is this Chunk to > be considered deprecated? Which is it's substitute? yes, the replacements are OSGShaderProgramChunk and OSGShaderProgramVariableChunk. The SimpleSHLChunk is a basic wrapper around them. The corresponding new tests end on _shaderprog.cpp kind regards gerrit ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users