[DEV] better grass
This commit is contained in:
parent
36dd2f7612
commit
cb9c625ac2
@ -35,8 +35,8 @@ public class Terrain {
|
||||
normals[vertexPointer*3] = 0;
|
||||
normals[vertexPointer*3+1] = 1;
|
||||
normals[vertexPointer*3+2] = 0;
|
||||
textureCoords[vertexPointer*2] = (float)j/((float)VERTEX_COUNT - 1);
|
||||
textureCoords[vertexPointer*2+1] = (float)i/((float)VERTEX_COUNT - 1);
|
||||
textureCoords[vertexPointer*2] = (float)j/((float)VERTEX_COUNT - 1)*100;
|
||||
textureCoords[vertexPointer*2+1] = (float)i/((float)VERTEX_COUNT - 1)*100;
|
||||
vertexPointer++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user