shadow of node clipped out

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
drarem
Posts: 81
Joined: Mon Mar 06, 2006 4:40 am
Contact:

shadow of node clipped out

Post by drarem »

I think this qualified as a beginner question:

irrlicht 1.7.2
opengl 4+

Here is my 'sun'.. not very far away from my huge terrain (loaded as a model node) but not sure how to get attenuation working either. When my player moves past a certain point, the shadow of it disappears like it is being clipped. Did I miss setting some parameter?

Thanks.

http://pastebin.com/2tKidzjE
drarem
Posts: 81
Joined: Mon Mar 06, 2006 4:40 am
Contact:

Re: shadow of node clipped out

Post by drarem »

I find if I follow my model with the 'sun', the shadow works much better.
Post Reply