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

GLSL Environment Mapping Question

This topic is 4323 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!