Advertisement

OpenGL Texture issues

Started by August 12, 2014 10:28 PM
0 comments, last by SeanMiddleditch 10 years, 5 months ago

I've been having a very weird problem with my textures in my project. What's happening is that the pixels that my shaders are choosing to place on my object are dependent on where the object is in my window. When I have the object stationary on the screen I don't notice it, but once I start moving the object around the screen via glBufferSubData, I notice that the texture starts changing. Does anyone have any Idea of why this is happening? The whole texture won't bind completely onto the object either, I always end up getting only part of the image onto the object?

A picture is worth a thousand words. Sounds like your UVs aren't being updated or passed in to the shader correctly, though.

Sean Middleditch – Game Systems Engineer – Join my team!

This topic is closed to new replies.

Advertisement