Hi, Im new in Irrlicht,and I want to ask some quesion:
1.Does Irrlicht support shadow mapping?
2.Can I create shiny material with Irrlicht (like a metal ball) ?
shadow
1. Yes. BSP maps use shadow mapping (also called lightmapping). For other file formats, which does not support 2 sets of texture coordinates, I have made a request that would make this a lot easier: http://irrlicht.sourceforge.net/phpBB2/ ... php?t=2342
2. You should be able to enable specular lighting with SMaterial::SpecularColor and SMaterial::Shininess, but I haven't tried it.
2. You should be able to enable specular lighting with SMaterial::SpecularColor and SMaterial::Shininess, but I haven't tried it.
I think shadow mapping & BSP light mapping are two very different things. BSP lightmapping is pre-compiled for static BSP scenes, where shadow mapping is a technique for generating dynamic shadows. The BSP lightmapping is trivial & is just a multitexture, shadow mapping is harder & requires a scene render per light.
Irrlicht supports shadows, but I don't know what technique it uses.
Brad
Irrlicht supports shadows, but I don't know what technique it uses.
Brad
Stencil buffer technique? If that is a technique.
I know it draws the shadows on the last pass, because when I have my 3D game glasses on, anything that is actually 2D appears level with the screen, and in the Irrlicht demos with Shadows on, everything has depth, except the shadows are printed flat on the screen - which tells me they don't actually exist in the 3D world.
I know it draws the shadows on the last pass, because when I have my 3D game glasses on, anything that is actually 2D appears level with the screen, and in the Irrlicht demos with Shadows on, everything has depth, except the shadows are printed flat on the screen - which tells me they don't actually exist in the 3D world.