Textureblend flag 4? What does it do?

Blitz3D Forums/Blitz3D Programming/Textureblend flag 4? What does it do?

Dock(Posted 2004) [#1]
Just looking through the Modulate 2X code, I notice this:

Case -1 TextureBlend lightmap,2
Case 0 TextureBlend lightmap,5
Case 1 TextureBlend lightmap,6

the help document for TextureBlend refers to this:

0: Do not blend
1: No blend or Alpha (alpha when texture loaded with alpha flag - not recommended for multitexturing - see below)
2: Multiply (default)
3: Add

Which raises a question.
What does, or what will, "Textureblend texture,4" do?


fredborg(Posted 2004) [#2]
TextureBlend 4 is Dot3 blending. Look at the example in my signature, to see what it does!


Dock(Posted 2004) [#3]
Oh - excellent, the answer was easy after all. I should pay better attention. ^_^

Thanks!