Scaling Splatted Textures

Yacoby

15-05-2008 12:54:09

Heya

ETM is running great, apart from one problem. The textures I have splatted are far too large on the terrain, as my terrain is 1.5km*1.5km.

What is the best way of scaling the splatted textures down?

CABAListic

15-05-2008 13:02:05

Modify the scaling factor in the shaders. If you're using the ETM sample shaders, then you'll find them in ETShader.program (I think). You're looking for splatScaleX and splatScaleZ, these factors determine how often the splatting textures will be repeated on your terrain. The higher the values, the smaller the texture looks on your terrain.

Yacoby

18-05-2008 09:06:47

Thanks :D