Adding detail map to loaded b3d file
Blitz3D Forums/Blitz3D Programming/Adding detail map to loaded b3d file
| ||
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 |
| ||
Example code please. What texture coords are you using for the detail texture?...have they been set? |
| ||
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. |
| ||
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) |
| ||
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?! |
| ||
Change the blend mode, so you can add the textures, or multiply them... |