Skip to main content
gamedev.net
🔒 Locked

Bump maps?

Started by colinisinhere 5 replies 400+ views
Original Post
colinisinhere
colinisinhere
I looking into making water that looks somewhat real... that reflects a skybox and land(heightmap). How hard would this be? I like the look of the water in Halo, and that looks like its just bump maps. But how can i achive this effect?
colinisinhere
colinisinhere
yes, i know how to spheremap, but how can i get the bump effect?
cowsarenotevil
cowsarenotevil
Hmm, sphere mapping looks crappy for water, but cube mapping looks OK. Use cube mapping, and then for the waves, just use a heightmap/normal map calculated with a generic water algorithm.

-~-The Cow of Darkness-~-
colinisinhere
colinisinhere
doesnt cube mapping work good for reflective objects too?
tHiSiSbOb
tHiSiSbOb
quote:
Original post by colinisinhere
doesnt cube mapping work good for reflective objects too?


Yes.
----------------------------------------------------"Plant a tree. Remove a Bush" -A bumper sticker I saw.
cowsarenotevil
cowsarenotevil
quote:
Original post by colinisinhere
doesnt cube mapping work good for reflective objects too?


That''s what environment mapping in general is for. Water is reflective. You might also look into refraction, but that''s a lot more challenging, and the hardware doesn''t do it for you.

-~-The Cow of Darkness-~-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.