PDA

View Full Version : SharpGL Anisotropic filtering



therand
10-13-2016, 07:05 AM
I've been trying to implement anisotropic filtering using SharpGL but I'm not able to find the extensions in SharpGL.
Here's the example I was working on trying to implement...
GLfloat largest_supported_anisotropy;
glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &largest_supported_anisotropy);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, largest_supported_anisotropy);

Does anyone know if I'm going about it correctly? I can't find GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT anywhere in the SharpGL libraries.
Thanks for any help.

GClements
10-13-2016, 07:27 AM
Those enumerants are part of the EXT_texture_filter_anisotropic extension, which isn't in the list of extensions (https://github.com/dwmkerr/sharpgl/wiki/OpenGL-Compatibility) supported by SharpGL.

therand
10-13-2016, 07:31 AM
Thanks for the information. Good to know.