Entity Texture

Blitz3D Forums/Blitz3D Programming/Entity Texture

BLaBZ(Posted 2009) [#1]
For some reason, when I apply this texture, it darkens the mesh but you can't notice the texture details.



KillerX(Posted 2009) [#2]
It's likely due to the texture coordinates being too scaled.


Stevie G(Posted 2009) [#3]

It's likely due to the texture coordinates being too scaled.



No. It's because you have all the texturecoords set to 0,0 by default. I'm guessing the texel at this position is black. You need to set the texture uv's with the last couple of param of addvertex.

Stevie


BLaBZ(Posted 2009) [#4]
Perfect, it was the uv's, thanks a lot!


GIB3D(Posted 2009) [#5]
What's a texel?


Ross C(Posted 2009) [#6]
A texel is a pixel on a texture. For instance, if your texture is 64x64, then one of those units, is a texel.