PDA

View Full Version : TEXTURE_LOD_BIAS and OpenGL 3.2 core profile



Schnulla
09-07-2010, 09:28 AM
Hi,

since TEXTURE_LOD_BIAS used in glTexEnv is deprecated
I wonder how to control this kind of stuff?

I used it for blur in a glow effect.

Help is really appreciated!

ZbuffeR
09-07-2010, 11:07 AM
In your GLSL shader, texture2D can take a lod bias parameter.

kyle_
09-07-2010, 01:18 PM
that or glTexParameterf

Schnulla
09-07-2010, 03:17 PM
ah thanks!!