Recommended Posts

Hey Guys,
I'm currently in a project now for a MMORPG using the GameBryo engine. It supports parallax maps, I would like to know how to make them. How do you?
Thanks
The website for the game is http://www.aeonrising.com/

Share this post

Link to post

Share on other sites

I think this should perhaps be in the Game Programming forum or somewhere similar. It might get more attention there. Thx, Kazgoroth [grin]

Anyway, if you mean how to actually make textures for parallax mapping in a paint package, it's relatively easy. You need to make three textures: a decal, a height map, and a normal map. The decal is simple: just take a well-lit, front-on photo of the surface you want, and process it as you would any other texture (resize, rotate, etc.). The height map is more difficult. You can create a greyscale height map manually, but in a lot of cases, you can use the decal and some paint package operations like "Find Edges" to make it much more easily. The normal map is made from the height map. You can write some code to do this, but there are plugins available which will do it for you (and give you a range of options, too). NVIDIA has a great normal map plugin for Photoshop (it works with Paint Shop Pro too, but only up to version 7, I wish they'd write a dedicated one). You can get that here. The GIMP also has a normal map plugin.