TerrainLighting.j3md Diffuse Scale not operating properly

I am attempting to load a quad with the material below and no matter what I set the terrain scale to it does not repeat the texture properly. This similar code works properly when using Terrain.j3md. Am I doing something wrong or is there an issue?

[java]Material mat_terrain;
/** 1. Create terrain material and load four textures into it. */
mat_terrain = new Material(assetManager, “Common/MatDefs/Terrain/TerrainLighting.j3md”);
Texture grass = assetManager.loadTexture(“images/grass.jpg”);
grass.setWrap(WrapMode.Repeat);
mat_terrain.setTexture(“DiffuseMap”, grass);
mat_terrain.setFloat(“DiffuseMap_0_scale”, 64f);
mat_terrain.setFloat(“Shininess”, 1f);
mat_terrain.setColor(“Ambient”, ColorRGBA.White);

	Quad groundShape = new Quad(2048,2048);
	ground1 = new Geometry("Ground",groundShape);
	ground1.rotate(-FastMath.HALF_PI, 0, 0);
	ground1.setLocalTranslation(new Vector3f (-1024,-.11f, 1024));
	ground1.setMaterial(mat_terrain);
	ground1.setShadowMode(ShadowMode.Receive);
	ground1.setQueueBucket(Bucket.Opaque);
	attachToGroundLayer(ground1, true);[/java] 

Thank you for your time.

Without alpha maps the terrain material will ignore the parameters passed in and default to just the one texture you passed.
Give it an alpha map and the splat routines will run and apply your scale.

If you just want one texture to repeat, then use the regular Lighting.j3md material and use scaleTextureCoordinates() on the quad:
[java]
groundShape.scaleTextureCoordinates(new Vector2f(64,64));[/java]

Thank you very much, I was able to get it working properly.