Originally posted by milky: Does anyone here knows a way to to that?
(I thought about multitexturing but it’s seen to hard to apply)
Multitexturing is REALY easy… and you should read nehe:s tutorials…
You can render your shadow map, save to texture.
Render the scene.
Then redner with the shadow-test and darken the area that is in shadow with the correct blending with a constant color.
Originally posted by gulgi:
Then redner with the shadow-test and darken the area that is in shadow with the correct blending with a constant color.
this is done with multitexturing?
I dont see the connection…
Originally posted by milky: [quote]Originally posted by gulgi:
Then render with the shadow-test and darken the area that is in shadow with the correct blending with a constant color.
this is done with multitexturing?
I dont see the connection…[/QUOTE]That is how you can do it without multitexturing. I realy recommend using more than 1 texture though. One rendering-pass will be faster than two rendering-passes.