Closed datalurkur closed 14 years ago
14:05 @loch Well, the terrain will need a Material that has a shader (which declares the use of two textures) and two textures associated with it. When the material is activated, it needs to activate the shader and attach the two textures to the correct texture unit. 14:06 @loch Material will need to be updated to handle shaders and textures (REALLY needs to be done anyways). 14:06 @loch The Shader class comes with a 'setTexture' function to do this. 14:06 @loch Not sure if you need to call it every time or just once... been a while... 14:07 @loch also, stick to GLSL for now, as Cg isn't supported, yet.
This is working, wewt!
1) Finish any implementation necessary 2) Test multi-texturing 3) Document