On Thu, 2006-11-02 at 00:46 +0000, Roger James wrote: > It fixes the file name but I still don't get any textures. I cannot see > where my "material_effect-sampler" is referenced.
It would properly be referenced by <diffuse> or one of the others (eg <ambient>, <specular>, etc.). They are defined by either a <color> or a <texture>. For your example, fix: <diffuse> <texture texture="material_effect-sampler" texcoord="texcoord0"/> </diffuse> ... on whichever of the shaders (eg <phong> is a conceptual shader) you want using the texture. Regards, Marcus _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
