You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm not new to OpenGL but I picked up this package recently and started playing with it.
I have encountered a problem that I'm not sure how to solve and I haven't been able to find a solution searching the interwebs.
I am loading textures in using the following code:
var texture = new SharpGL.SceneGraph.Assets.Texture(); texture.Create(gl, filename);
But when I render them onto a polygon they are extremely low resolution. It looks like about 100x100 but the source image is much higher resolution than that.
Thats all the texture commands I call other than supplying each vertex with a gl.TexCoord
This all works fine but its just that the displayed image is very pixilated and blurry.
Is there some OpenGL setting that I must use to enable higher resolution textures?
The text was updated successfully, but these errors were encountered:
Hi, I'm not new to OpenGL but I picked up this package recently and started playing with it.
I have encountered a problem that I'm not sure how to solve and I haven't been able to find a solution searching the interwebs.
I am loading textures in using the following code:
var texture = new SharpGL.SceneGraph.Assets.Texture();
texture.Create(gl, filename);
But when I render them onto a polygon they are extremely low resolution. It looks like about 100x100 but the source image is much higher resolution than that.
to add the texture I later call:
gl.Enable(OpenGL.GL_TEXTURE_2D);
gl.BindTexture(OpenGL.GL_TEXTURE_2D, 0);
Thats all the texture commands I call other than supplying each vertex with a gl.TexCoord
This all works fine but its just that the displayed image is very pixilated and blurry.
Is there some OpenGL setting that I must use to enable higher resolution textures?
The text was updated successfully, but these errors were encountered: