Sign in to follow this  
domino1011

strange texture coordinates and render to texture

Recommended Posts

domino1011    122
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this