Advertisement Jump to content
Sign in to follow this  

Render to Texture on ATI

This topic is 3560 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, Among other things, I have a shadowmapping algorithm. It works perfectly on my NVidia card, but not on ATI cards. Because I wanted to eliminate just such card-to-card problems, the texture is rendered as a simple depth texture--no comparison operations. In the shader, the shadowing functions are implemented manually. The program has two ways of rendering the scene to this texture--glCopyTexImage2D(...) and framebuffer objects. Each method gives incorrect results differently. I attached screenshots showing the problem. They are 800x600, but I resized them with HTML to fit better here. View the image separately to see more detail. glCopyTexImage2D(...) seems to leave the entire scene shadowed: The framebuffer seems to actually flip the shadowmap: What's going on here? How can I fix these problems? They only appear on ATI cards--what am I doing wrong, and how should I make it more compatible? Thanks, G

Share this post

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

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. 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!