is it possible to bake shadows on texture using irrlicht api?
edit: more explanation, i have level created and loaded in irrlicht. directional light is added to the scene, now that level is finished, i realized that static models like houses and trees are not casting shadow on the grass. i don't want to add volume shadows because they are too demanding, but i want to bake shadows onto landscape and have this texture saved.
baking programaticaly
Re: baking programaticaly
You can generate shadow maps for static objects once and use it in all frames.
IrrNaCl - Irrlicht Port for Google Chrome Native Client - Demo
Iyan 3D - Make your own 3d animation using your iOS Device
Iyan 3D - Make your own 3d animation using your iOS Device
Re: baking programaticaly
You talk about 2 different things: pera asks how to generate this type of textures and codetiger says that it is possible to use.
Well, yes you can use lightmaps.
And no, there is no automatically generating of them build-in Irrlicht. You can write your own algorithm to write image and use it as a texture. Or you can use 3rd party applications for that. But answering on your direct question: is it possible to bake shadows on texture using irrlicht api? -- No.
Well, yes you can use lightmaps.
And no, there is no automatically generating of them build-in Irrlicht. You can write your own algorithm to write image and use it as a texture. Or you can use 3rd party applications for that. But answering on your direct question: is it possible to bake shadows on texture using irrlicht api? -- No.
Re: baking programaticaly
how do i generate shadow maps for static objects once and use it in all frames?
Re: baking programaticaly
IrrEdit ( http://www.ambiera.com/irredit/ ) can generate lightmaps.