Hey everybody!
Quick question, I’ve put together a small physics demo using ODE, and I’m using a GeoMipTerrain object. But textured, it looks awful. I just need a simple way to scale the UVs so that my terrain texture tiles.
Hey everybody!
Quick question, I’ve put together a small physics demo using ODE, and I’m using a GeoMipTerrain object. But textured, it looks awful. I just need a simple way to scale the UVs so that my terrain texture tiles.
Is this simple enough?
root = terrain.getRoot()
root.setTexScale(TextureStage.getDefault(), num_repeats_x, num_repeats_y)
Replace num_repeats_x and num_repeats_y with how many times the texture must be repeated over the terrain.
*@#$&@#^@&& oh for cryin’ out loud… how many times did I look through the reference guide and not see that?
I’m a software engineer by trade. So this is particularly embarrassing.
Thanks pro-rsoft.