Jump to content
  • Advertisement
Sign in to follow this  
Chaotic Instinct

GLSL Environment Mapping Question

This topic is 4149 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys! I'm working on making some cool shaders for a school project some mates and myself are working on. After applying the environment (Sphere) to the vehicle which the player controls, I found it static (The environment mapping stays the same, no matter how much the car is turned and so fourth). Which doesn't look good at all. Is there a way to update the viewing position with a direction vector to have the environment map be less static and come alive as the player turns/drives the car? The code I'm using is from the Orange book. Pretty much copied 1:1, with some changes to function with our current engine.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!