Texture Stretching

Blitz3D Forums/Blitz3D Beginners Area/Texture Stretching

Whats My Face(Posted 2007) [#1]
How do I keep textures from getting that stretched appearance when I put them on an object that has been stretched a lot.


jfk EO-11110(Posted 2007) [#2]
There are several ways to do that, probably the easiest:
ScaleTexture.


Whats My Face(Posted 2007) [#3]
Ya, but the cubes I'm using are only scaled along the Y-axis, and a lot (to give them the appearance that they go down forever), so scaling the textures would make it look good on one side but not the other.


Matty(Posted 2007) [#4]
Apply the texture to your stretched object in your modeling application such that it looks okay. No need to do it in code unless you are altering the texture/object scale dynamically.