Sth about the TGEA source code
#2
there's 3 parts to materials: the shader code, the shader datablock, and the material definition. if you use a regular normal material definition, then you don't need to worry about the shader code or the shader datablock. for regular materials, the shaders are generated procedurally. but if you use a custom material, you need to create a shader file for the material and then create a shader datablock which references the pixel and vertex shader files. the custom material then requires a reference to your custom shader datablock.
look at the tgea documentation.
12/18/2007 (10:14 am)
I assume you're talking about the script code since you're talking about materials. there's 3 parts to materials: the shader code, the shader datablock, and the material definition. if you use a regular normal material definition, then you don't need to worry about the shader code or the shader datablock. for regular materials, the shaders are generated procedurally. but if you use a custom material, you need to create a shader file for the material and then create a shader datablock which references the pixel and vertex shader files. the custom material then requires a reference to your custom shader datablock.
look at the tgea documentation.
Employee David Montgomery-Blake
David MontgomeryBlake