Page 1 of 1
transparence switches to solid with stencil shadows
Posted: Mon Jul 04, 2011 1:38 pm
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
Re: transparence switches to solid with stencil shadows
Posted: Mon Jul 04, 2011 1:41 pm
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?
Re: transparence switches to solid with stencil shadows
Posted: Thu Jul 07, 2011 10:41 am
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