hello, i am trying to active anisotropic filtering using;
if (gl.glGetString(GL.GL_EXTENSIONS).contains("GL_EXT_texture_filter_anisotropic")) {
FloatBuffer maxAnisotropy = FloatBuffer.allocate(1);
gl.glGetFloatv(GL.GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, maxAnisotropy);
gl.glTexParameterf(GL.GL_TEXTURE_2D, GL.GL_TEXTURE_MAX_ANISOTROPY_EXT, maxAnisotropy.get(0));
}
but it does not seem to work.
any ideas what the problem could be?
thanks!