ok, the next thing to do in the materials checklist is global textures, and I'm not sure exactly how I want this.
a global texture is one that will be used by name accross all iterations of a texture (irrespective of what model is being drawn). they can be loaded from a file or made dynamicly and can have a whole bunch of atributes set for them. I need to get this done because environment mapping uses a global texture namely the environment map. but as I said, I'm not sure on the best way to do this.
for one thing should it be part of the materials table or something seperate? the HUD might end up useing global textures to output gagues to, and then you'd be able to grab those global textures in the material and make cockpits.
what about the table entree, what I have right now is
$Name: static_env
$render_target:
+type: cubemap
+Resolution: 512
+memory_pool: static
$format: RGB, 32
$Name: noise
$src: noise.tga
$format: RGBA, 32
global textures would be refered to by name, you can load it from a file, or it can be a render target (and if it's a render target you have to specify resolution and stuff) and you'd be able to change formats if you wanted.
so what do other people think?