I really don’t want to create my lights trough code cuz I have a really complex scene… sooo… how do i create a shadowmap & how do I use it? Do you know a good tutorial or something?(I presume I have to use maya… no?)
Think of a shadow maps as another texture, that is laid over your real textures and contains the shadows. That would be the easiest way to get static shadows in your scene.
Well… Legion is right, a shadowmap would be perfect in this case, unfortunatley CS4 dosen’t create any kind of shadowmaps! Would somebody know a good piece of software that imports and exports *.x and also creates shadowmaps?
Have you tried just turning on lights? It’s really easy to do (one or two lines of code) and may be all that you’re looking for.
You can also turn on the lights in pview with the “l” key. Pview your model, then press “l” to toggle the lights on and off. You’ll see what your model looks like with just ordinary lighting enabled.
Blender can create shadowmaps, but it’s not trivial. I’m pretty sure 3dsmax and Maya can also do it, and it’s probably easier than in Blender, but then again they’re not free.
What is being talked about here is commonly referred to as “light maps”, this can be confused with “shadow maps”. Light maps bakes the lighting onto textures that are applied to your scene. A shadow map is a render from the point of view of the light containing scene depth information. This information is then used to determine what objects are in shadow from that light when rendering the scene.