Game Development Community

Creating Textures for Terrains?

by Nix · in Torque 3D Beginner · 08/08/2010 (9:29 pm) · 3 replies

This is probably really simple but I can't see it explained in the new documents...

I am looking to use a sand PNG as the material for a terrain. Unfortunately when I create a blank terrain I can't find any way to select a PNG file to texture the terrain.


The closest I can come is contained in the following URL http://docs.torquepowered.com/torque-3d/official/content/documentation/World%20Editor/Adding%20Objects/TerrainBlock.html but it assumes that materials for the terrain will be present. When I generate the blank terrain the materials drop-down menu is empty.

How do I go about creating an appropriate terrain material from the PNG file I have?


#1
08/08/2010 (9:37 pm)
Either click on a material or add a new one and click that. When the Terrain Materials Editor pops up, click the little page icon that is next to the bin icon, this is the "make new material" button. Then fill in your matieral properties, hit apply and it'll be saved. Then paint with your new material. :)
#2
08/08/2010 (9:57 pm)
Well that advice, changing the PNG to 512 x 512 instead of 648 x 648 and a bit of liberal experimentation following the realisation that the World Editor may not be the place to apply the material to the terrain and resorting to the material editor did the trick.

Thanks. It was a simple fix but not so simple when you don't know what the hell is happening ;-).
#3
08/08/2010 (11:52 pm)
Oops, doublepost.