i’ve got a problem; i want to build a ground for my game. This ground has a Texture, and i want to repeat the Texture:
Box box2 = new Box(Vector3f.ZERO, 500f,0f,500f);
Material mat_stone = new Material(
Texture stone = assetManager.loadTexture(“Textures/texture001.png”);
Spatial ground = new Geometry(“Box2” , box2 );
I’ve tried all wrap-modes, nothing. My texture is a tile, and i want to repeat it. Any ideas?
you have to scale the texture coordinates
you also have to set the wrapMode to repeat like you did.
It works, thanks alot