Jump to content
  • Advertisement
Sign in to follow this  
domino1011

strange texture coordinates and render to texture

This topic is 4466 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

hi everyone. I've strange problem with texture coordinates and render to texture feature - when rendering in normal mode (into framebuffer) everything is fine, but when I enable render to texture each object has mirrored T coordinate (newT = 1 - oldT). The problem only occurs when model was exported from 3DS Max - the texture has coordinates in range [-1, 2] instead of [0, 1] becouse of max texturing. I have no idea why (and especially HOW ;/) these coordinates can be affected by creating off screen render target, rendering to it and rendering a screen quad with a render texture applied to it. Has anyone had a similar problem before? Help please :)

Share this post


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

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!