alpha stuff

Blitz3D Forums/Blitz3D Programming/alpha stuff

Ruz(Posted 2004) [#1]
is it possible to make particular bits of a texture use an env/cube map , using alpha channels.
I was thinking layer 0 is the base texture which contains alpha masks, layer one has the env/cube map.


jhocking(Posted 2004) [#2]
I think you can do it the other way around, layer 0 has the environment map and layer 1 has the alpha texture. If that doesn't work the normal way to isolate environment mapping to certain parts of a model is using separate surfaces, one for the base texture only and one with the environment map.


Ruz(Posted 2004) [#3]
jhocking -Thanks I will have a look at that in more detail. all i am trying to do is give my knight/soldier shiny armour in certain areas.
It s a handy technique if done right.
so the theory is I can give it a dull sheen if I used a grey area in the alpha texture, very shiny if the alpha is totally transparent.

the second method is not really suitable for what i want, though i may have to resort to that if the first doesn't work.