[osg-users] One shader, multiple textures?

2008-08-01 Thread Jeremy Trammell
I hope this isn't a ridiculously obvious question, but I have yet to find a clear set of solid documentation for OSG, so pardon my naiveness! I'm working on a little game that allows the user to assemble a 3D map out of blocks. As part of the user interface, I wrote a shader that would

Re: [osg-users] One shader, multiple textures?

2008-08-01 Thread Paul Speed
I am by no means a shader expert, but this is not an OSG problem. It is a shader problem. OSG doesn't do much special on top of what OpenGL gives you for shaders. I'd recommend the orange book on the OpenGL shading language. It will help you reconstruct the parts of the built-in shader