Skip to main content
gamedev.net
🔒 Locked

Shadow techniques

Started by Mr Cucumber 5 replies 300+ views
Original Post
Mr Cucumber
Mr Cucumber
Since there are a lot of different texhniues avaailable the descision is hard. But to me it seems like these are the two most common: Making the shadow as a texture and multitexture. Making the shadow as a geometric object and alpha blend with the background.
Julio
Julio
I think the alpha shadows would be more dynamic, or you could do what they did in Wolfenstein and have static lights and shadows.

JoeMont001@aol.com www.polarisoft.n3.net
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
kadaf
kadaf
Are you talking about shadows cast by the world and hit by the world, or shadows from moving objects?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rasmus Neckelmann
mullen@forum.dk

www.zimtech.cjb.net
zimgames.cjb.net
-- Rasmus Neckelmann
Mr Cucumber
Mr Cucumber
I''m talking about shadows cast by the world.
But it would be nice to know how to do dynamic shadows from moving objects abd lights.
Ingenu
Ingenu
There''s another best solution : don''t cast shadow !
Only lite the world and shadows will be cast nicely

It''s a way to go, and to me a very good since you avoid wasting time lighting stuff you''ll have to shadow thereafter.

2 pass (light+shadwo) = 0 pass
1 pass (light) is still one pass...


-* So many things to do, so little time to spend. *-
-* So many things to do, so little time to spend. *-
Mr Cucumber
Mr Cucumber
But wouldn''t that lead to comletely black shadows?
In the real world shadows aren''t totaly unlit.
Ingenu
Ingenu
nop, since you use still use ambient lighting that don''t cost as much as other types of lights...

Shadows won''t be absolutely dark...

-* So many things to do, so little time to spend. *-
-* So many things to do, so little time to spend. *-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.