I'm currently working on implementing some shaders for a University project into Irrlicht. I've been pretty successful so far but when I wanted to implement my blooming shader I ran into a problem.
I'm wanted to use the mipmap levels instead of blurring the image for performance reasons but it seems when using Irrlicht this function does not work.
Code: Select all
float4 diffuse1 = tex2Dbias( Texture0,float4(texCoord.xy, 0,3));
I also tried to use
Code: Select all
rt->regenerateMipMapLevels();
I hope someone can help me here or point me in the right direction
As I am pretty new to Irrlicht and cpp in general there is a got chance i just overlooked something important
Greetings
pnyx