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
transparence switches to solid with stencil shadows
-
- Posts: 15
- Joined: Fri Jun 03, 2011 9:35 am
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: transparence switches to solid with stencil shadows
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?
-
- Posts: 15
- Joined: Fri Jun 03, 2011 9:35 am
Re: transparence switches to solid with stencil shadows
[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
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