Hello again, I sometimes feel I ask too many questions on these forums but oh well.
A friend of mine made a simple program to draw a fractal. I quickly realized this would work much faster in a shader. Very quickly I ran into alot of problems that didn't make sense, and after 2 hours I come here with a simple question.
I am using sfml 2.1
this is the shader, not the shader for the fractal, just a test
I have defined my own rectangle as a vertex array in sfml. I load a texture from file, and confirm it is loaded, just a simple png image. I draw the texture in the normal manner to make sure it is loaded. I then try passing the loaded texture, as a parameter using this line, with the goal of drawing the texture myself in the shader
When I finally draw and display however, I get a black screen. I suspect this is because I don't really know GLSL, but in my head at lest, the code looks up the current pixel in the texture, and simply outputs that value from the fragment shader for the current pixel.