Terrain Question
Blitz3D Forums/Blitz3D Programming/Terrain Question
| ||
I have a Terrain lighting problem: I've textured my terrain with 2 colormaps, rock and grass- EntityTexture Terr\hent,hrock,0,0 EntityTexture Terr\hent,hgrass,0,1 TextureBlend Terr\hrock,1 ; normal TextureBlend Terr\hgrass,2 ; multiply - which gives me just the effect I want, grass broken by a gentle 'veining' from the rock. Now I find that both - EntityColor Terr\hent, r,g,b and TerrainShading Terr\hent, True - have _no_ effect at all, unless I use TextureBlend Terr\hrock,0 (rock switched off). I thought maybe layer 0 was used by Blitz for shading and RGB, so I moved my textures to layers 1 and 2 instead. But there was no difference. I also tried EntityFX Terr\hent,2 (use vertex colors instead of brush color), but with no difference. Does anyone know why EntityColor and TerrainShading do not work when you have blended textures on a Terrain? |
| ||
Just a thought , you may have to set the blend mode for the Terr\hrock to addative if you're using a terrain colour behind it for the colour to show up. |
| ||
Stevie, I've just tried it; additive just gives it a bleached out look. I've noticed this about additive (mode 3) before - it appears to be the sort of blend which is purely mathematical, and serves no visual purpose. Any other ideas? Anyone? |
| ||
Additive blending works quite well for brightening areas in my experience. It will look bleached out if the underlying colour is quite bright .. try halving it. Sorry I can't be of more help. |