Archived

This topic is now archived and is closed to further replies.

theZapper

How do I do this texturing, Picture supplied

Recommended Posts

theZapper    150
I want to be able to just tile a single texture over a landscape, but on other areas like raised ground and ditches, put a different texture on. I.e. the hill in the picture where the texture changes from rock to the grass. I realise this is most likely multitexturing, (which I don’t need explaining), but how do you set up the texture coordinates to tile the green over a large area, AND get a ragged faded edge where they meet. Thanks EDIT: Finally, got picture to work! --- When I'm in command, every mission's a suicide mission! [edited by - theZapper on August 15, 2003 6:19:54 AM]

Share this post


Link to post
Share on other sites
Wildfire    154
You could take two textures, grass and rock (more would surely look better). Then put them into their respective places. The areas where they meet you could use multitexturing in combination with blending to blend the textures smoothly into one another.
I guess you could put a third texture as a sort of alpha map on top of that with ragged edges, so it won''t look too smooth.

Share this post


Link to post
Share on other sites
Sander    1332
The old fashoined way:

Create one texture that you stretch over the terrain which has all the different textures in it already. You can do this manually, but there are some programs for it as well. Just insert your heightmap, insert a few base textures and in calculates the final texture for you. Ususally these programs also apply lighting based on the sun''s position. When rendering, you combine this stretched terrain texture with a tiled detail texture (multitexturing). Google for ''terrain texture generator''. Flipcode.com also has an article about it.

There is another way but i''m not sure how it works. Just what it is called. Google for ''texture splatting''.

Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]


GSACP: GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!

Share this post


Link to post
Share on other sites