How draw shadows

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
nafnaf
Posts: 16
Joined: Sun Aug 13, 2006 11:43 pm

How draw shadows

Post by nafnaf »

are Irrlicht support other shadow different than stencil?
hmmm..... Does Irrlicht support Render To Texture shadows?
(like in a lot of topdown RPGs)

when draws a few stencil shadow fps is too low.
But Render To Texture shadows or some thing be much better
===============
How draw shadow different than stencil?
omaremad
Competition winner
Posts: 1027
Joined: Fri Jul 15, 2005 11:30 pm
Location: Cairo,Egypt

Post by omaremad »

there are millions of shadow implementations i recccomend looking and reading. RTT shaddows are slower than stencil due to hardware bottle neck when locking unlocking textures evrery frame.

Irrlichts shaddows esp the stencil are fast if you disable the extra fail preventing methods

a simple textured polygon on the ground with the correct normal may be the fastest
nafnaf
Posts: 16
Joined: Sun Aug 13, 2006 11:43 pm

Post by nafnaf »

how draw simple textured polygon on the ground?
====================
and how make shadow do not drops on shadows droper(model)
nafnaf
Posts: 16
Joined: Sun Aug 13, 2006 11:43 pm

Post by nafnaf »

I mean like in Ogre3d 'texture shadows'
here stencil shadows
Image
here texture
Image
fps is much bigger.
Irrlicht can draw those shadows.If can -> how?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

Read up on shadow mapping techniques.
nafnaf
Posts: 16
Joined: Sun Aug 13, 2006 11:43 pm

Post by nafnaf »

i search forum ' shadow mapping techniques ' no found correct can you link please?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

I meant search the internet. Here is a link to a description of shadow mapping by Chris Bloom.

Travis
Post Reply