Texture mapping

I’ve added texture mapping to the project. As mentioned in an earlier post, I found some nice free textures here. The program is currently only using a grass texture, but I’m planing to add a system where it will blend in a rock image depending on how steep the terrain is. The result of adding some greenness:

Texture mapping

Texture mapping

Not too bad, but it’s easy to see that more variation is needed. It actually looks a lot better when the camera is moving around. Here’s another angle:

Texture mapping

Texture mapping

And just for fun, I tried with a rock texture:

With rock texure

With rock texture

Not too bad. 🙂 But I still think a blend of these two will look even better. Especially if I can make it so it gives a visual cue on steepness. That will be the next part I guess.

-Knut

Advertisements

Tags: , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: