Skip to main content
gamedev.net
🔒 Locked

environment mapping question

Started by m4ch0dude 0 replies 450+ views
Original Post
m4ch0dude
m4ch0dude
I am working on a terrain engine that uses multitexturing and sphere mapping to give the appearance of a water surface reflecting the sky. Basically it works, using automatic texture coordinate generation in OpenGl, but here is my question: How do you make the reflected texture change only when the camera moves, as opposed to even when you just stand in one place and look around? I dont think reflections are supposed to change when you''re not moving. I''d appreciate any help on this subject.
Monder
Monder
I can''t remember exactly how sphere mapping works now, but you can''t change the way GL implements it so your reflection will have to move when the camera rotates.

Topic Locked

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

Sign in to reply to this topic.