Tiled textures in terrains

Posted By: FcoElizalde

Tiled textures in terrains - 07/05/10 14:16

Hi everybody
Does anyone know for sure, if its possible to draw a single texture in each square of the terrain?
I cant find anything but the terrain -> texture creator
wich paints the whole terrain with a single texture.

If it is possible, could you redirect me to a tutorial or tell me how please. Thanks.
Posted By: wdlmaster

Re: Tiled textures in terrains - 07/05/10 22:46

Quote:

...draw a single texture in each square of the terrain...

no. But you could use a shader (what else tongue ) to place different textures on different spots, but you are restricted to 16 textures per render pass. (Actually 15, because one of the textures is used as blendmap). This is done with a bitmap of the same dimensions as the terrain (example: the terrain is 256x256 cells wide --> the texture is 256x256 pixels wide). Every pixel is one terrain-square. You can now use 15 different colors to draw the 15 textures.
Posted By: FcoElizalde

Re: Tiled textures in terrains - 07/06/10 02:27

Ok that sounds good enough. Can you give me an hyperlink to a tutorial, or explain please, I get the main idea, but I dont know how to use a shader in that way.
Posted By: FcoElizalde

Re: Tiled textures in terrains - 07/09/10 14:45

This idea is really interesting, Can anyone care to tell me how to do it?
Im drooling over it!
Posted By: FcoElizalde

Re: Tiled textures in terrains - 07/18/10 04:48

No one? Anybody, at least tell me if it is the garrettwademan's tutorial, or Matt_Aufderheide's ultimate terrain shader. Since both are in c-script I cant beggin that easily. I dont find the links on the wiki for multitexturing either.
Posted By: Spirit

Re: Tiled textures in terrains - 07/18/10 08:20

Why don't you just look in the manual? Under "GED", there is described how to paint tiled textures on terrain.

It's also in the new MED tutorial on the download page, there is a chapter about terrain texturing with GED.
© 2024 lite-C Forums