I already posted this issue on the official xEffects topic, but it seems that there is nobody there, so I try with a new topic here.
Actually, I'm experiencing some rendering problems with xEffects 1.3 (on Irrlicht 1.7.3)
full picture: http://www.image-share.com/upload/2663/230.jpg
As you can see on the picture, the textures of the mesh looks as if it was separated from the car model as long as the speed of the mesh increases (if the model is just standing, their is no separation). That creats something like a "ghost effect". The problem occurs using either EDT_OPENGL or EDT_DIRECT3D9.
However, if I switch to irr::f32 TexVar = 0 in EffectCB.h and use EDT_OPENGL, the problem desappears but the light also desappears!
On this screen shot, I use a standard irrlicht light for the grass and a xEffect light for the road and the car.
The code of the xEffect light is below (SCALE=1 and shadowDimen=1024) :
Code: Select all
effect->addShadowLight(SShadowLight(shadowDimen, irr::core::vector3df(0, 15*SCALE, 0), irr::core::vector3df(0*SCALE, 0, 0*SCALE),
irr::video::SColor(0, 200, 200, 200), (float)0.5*SCALE, 30*SCALE,60*DEG2RAD ,false));
I tried on two different laptop (a Lenovo T520, and a HP Zbook with a K5100m) and got exactly the same problem.
Does someone ever experienced this strange effect? Do you have some idea of what could be the reasons?
Thank you for your help!