d-slut
03-26-2003, 01:11 PM
Hi all,
After finishing my DDS loader ( special thanks to jra101 ), I'm trying to achieve a blur effect so I could do a fade-out or a fade-in of the detail of the texture. My first approach was to specify a mipmap using texture_lod and setting both BASE_LEVEL and MAX_LEVEL at the same value... of course that doesn't give me a smooth transition, so I'm now playing with texture_lod_bias extension which ( following the spec ) ables me to modify the lambda used to generate the fragments.
The problem is: i don't know how this works, i don't know what values of lambda give me the desired results, when i query for MAX_TEXTURE_LOD_BIAS_EXT it returns me 1, that looks strange, isn't it?
Whatever values I set beetween -1 and 1 nothing seems to happen, even using very bigs numbers http://www.opengl.org/discussion_boards/ubb/frown.gif
Please i need some help on this, ¿am I missing something on the spec?
Thanks in advance, if it helps... i'm using a Radeon 7500, but i hope that this silly effect could be done in most cards.
[This message has been edited by d-slut (edited 03-26-2003).]
After finishing my DDS loader ( special thanks to jra101 ), I'm trying to achieve a blur effect so I could do a fade-out or a fade-in of the detail of the texture. My first approach was to specify a mipmap using texture_lod and setting both BASE_LEVEL and MAX_LEVEL at the same value... of course that doesn't give me a smooth transition, so I'm now playing with texture_lod_bias extension which ( following the spec ) ables me to modify the lambda used to generate the fragments.
The problem is: i don't know how this works, i don't know what values of lambda give me the desired results, when i query for MAX_TEXTURE_LOD_BIAS_EXT it returns me 1, that looks strange, isn't it?
Whatever values I set beetween -1 and 1 nothing seems to happen, even using very bigs numbers http://www.opengl.org/discussion_boards/ubb/frown.gif
Please i need some help on this, ¿am I missing something on the spec?
Thanks in advance, if it helps... i'm using a Radeon 7500, but i hope that this silly effect could be done in most cards.
[This message has been edited by d-slut (edited 03-26-2003).]