Ok,
one more try to bumpmaps in blitz.
This time has been my best try,
it has multiple lights and with its ranges,
no sine cosine thing,
just define any element in your level as a light,
and a tiny little function do all the work,
this code is done for parts of a level,
the parts can be translated but not rotated, but, hey! it is something anyway :)
I borrowed some textures from the Halo's Doom3bb example
http://geocities.com/eurypic/bumps_reloaded.zip
(source of only 40kb)
bye!
Paolo.
one more try to bumpmaps in blitz.
This time has been my best try,
it has multiple lights and with its ranges,
no sine cosine thing,
just define any element in your level as a light,
and a tiny little function do all the work,
this code is done for parts of a level,
the parts can be translated but not rotated, but, hey! it is something anyway :)
I borrowed some textures from the Halo's Doom3bb example
http://geocities.com/eurypic/bumps_reloaded.zip
(source of only 40kb)
bye!
Paolo.