Page 1 of 1

sphere mapping artifacts

Posted: Mon Oct 11, 2010 1:28 am
by Terry
Hi all,

I've tried to use EMT_SPHERE_MAP material,my model is a teapot,texture is given by irrlicht/media/spheremap.jpg,driver is ogl.But the effect is very bad.I'd like to know if i've made some errors?Anything else to do to use sphere mapping except to assign the material type.
Image

Posted: Mon Oct 11, 2010 2:20 am
by slavik262
Setting the material to EMT_SPHERE_MAP just applies the static sphere map (the texture) and uses normals of the mesh to do a sphere mapping effect. If you want reflection mapping that actually responds to the environment, check out dual paraboloid mapping, which is floating somewhere around the forums.

Posted: Fri Oct 22, 2010 1:55 pm
by hybrid
Actually, this seems like a bug. Because the appearance under DX is really different (and much more useful). I have the impression as if this is caused by the right-handedness of OpenGL. But I'm not sure, any help appreciated.