Showing BitMap Image under Shaders ?

description

OK so I can see how to load a texture while under non shader support.. but I can't find any example or any way to support textures under shaders.

Anyone have any ideas ? I tried ActiveTexture(GL_TEXTURE0) and it accepts that, I have a few other settings setup, even the textureCoords attribute is set to 1, but for some reason, the shader doesn't show the texture. It compiles with no errors.. so not sure
how to go about fixing this.

So far, it compiles and I get my blue background but with a black box. I can't get the texture to show up in that spot where the black box is supposed to be at. That black box is my vertices.

file attachments

comments

SharpGL ONLY uses BitMap images. It will not allow any other kind. So you are forced to use BMP files. So if you want to use the standards, like PNG, you have to write your own IMAGE to BITMAP convertor.

I'll have to do that and see if I can finally display a texture using shaders.

There needs to be an example added to the others, so you can display textures when using shaders. Right now the only texture example there is, uses the old fixed pipeline method which is outdated.