transparence switches to solid 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
max6666north
Posts: 15
Joined: Fri Jun 03, 2011 9:35 am

transparence switches to solid with stencil shadows

Post by max6666north »

Hi out there...

in my programm i readin obj-files with textures and transparent surfaces.

if i turn on stencil-buffer shadows the tranparent parts switches to solid.

why?
some hints?

thx
max
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: transparence switches to solid with stencil shadows

Post by hybrid »

Can you reproduce this with other meshes, maybe the default ones from SDK? Does this happen without drawing shadows already? Which driver do you use?
max6666north
Posts: 15
Joined: Fri Jun 03, 2011 9:35 am

Re: transparence switches to solid with stencil shadows

Post by max6666north »

[quote="hybrid"]Can you reproduce this with other meshes, maybe the default ones from SDK? Does this happen without drawing shadows already? Which driver do you use?[/quote]

I tested it on direcx and opengl and with several (own exportet) modells. without shadows the objects are transparent.
may be it depends on the normal vectors (direction of the faces)...
I will test futher...

max
Post Reply