Adding detail map to loaded b3d file

Blitz3D Forums/Blitz3D Programming/Adding detail map to loaded b3d file

ozak(Posted 2005) [#1]
I tried using entitytexture but nothing happened.
Anyone know how it's done?

I have a B3D file created out of my control, and I'd like to add a detail map to it.

Thanks in advance

Ozak


Shambler(Posted 2005) [#2]
Example code please.

What texture coords are you using for the detail texture?...have they been set?


Ross C(Posted 2005) [#3]
First thing is, is it just the one surface? If it's not, you'll need to find the surfaces, then texture them. Also, if your using entity texture, try and use the additional layer parameter.


ozak(Posted 2005) [#4]
Ok, I'll try to go through all surfaces, setting the texture for them. I did use layer 1.

Do I need to have texture coords for the second layer? Can't it just use those already present? (layer0)


ozak(Posted 2005) [#5]
Just one question. I can go through the surfaces and paint them with a brush.
But how do I keep the layer 0 texture?
If I just paint with a brush with layer 1, it erases the layer 0 texture?!


KuRiX(Posted 2005) [#6]
Change the blend mode, so you can add the textures, or multiply them...