Hello everyone, I have already posted about this on gamedev.net but am yet to find a solution.
I am creating a simple rectangle using a vertex buffer that is being draw to the screen. I am also creating a texture, loading the image from file, and passing it into a shader. I am using the default vertex and fragment shaders from the tutorials.
My problem is the fragment shader seems to be filling the entire rectangle with whatever colour the bottom right pixel of the texture happens to be. Has anyone come across this before?
Thanks