If I have a TerrainQuad object, using the material Terrain.j3md, The textures loaded on it end up being hugely scaled up and ugly. If I do:
mat_terrain.setTexture(“Tex1”, tex);
mat_terrain.setFloat(“Tex1Scale”, 128f);
The texture is still blown up and ugly, with a smaller scaled version of it also drawn.
On a normal Geometry, you can use
scaleTextureCoordinates(scale);
to scale the texture coordinates. Is there any way to actually scale a texture on a TerrainQuad?
Use TerrainLighting.j3md instead for better results.
Scaling texture coordinates won’t work because it uses splat textures, and they all can have a different scale.