Troubles with stencil 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
flip21
Posts: 4
Joined: Tue Feb 02, 2021 2:28 pm

Troubles with stencil shadows

Post by flip21 »

Hello everyone,

I'm working on a new project using Irrlicht Engine. I'm currently experiencing troubles with stencil shadows.

Image

As you can see in the image, shadows are not correctly rendered, but I'm unable to understand the reason.

Normals are ok, and lighting is working perfectly. However, it seems that some faces don't cast shadows, or there's a strange intersection problem.

I hope that there is a chance to fix it. Thank you in advance for replies!!

Best regards
flip21
Posts: 4
Joined: Tue Feb 02, 2021 2:28 pm

Re: Troubles with stencil shadows

Post by flip21 »

I'm sorry. I've solved by switching from IrrichtLime 1.6 to Irrlicht.Net.
CuteAlien
Admin
Posts: 9838
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Troubles with stencil shadows

Post by CuteAlien »

OK. But just for info - several stencil troubles got solved in Irrlicht svn trunk since 1.8. But it still has some problems (positions of light - camera - shadow throwing model matter a lot for this).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply