Hi,
On 6 Feb, 2013, at 12:10, Gerrit Voß <[email protected]> wrote:
>
> Hi,
>
> On Fri, 2013-02-01 at 09:09 +0100, Johannes wrote:
>> Hello Gerrit,
>>
>> On 01.02.2013 08:34, Gerrit Voß wrote:
>>>
>>> no got it, still try to wrap my head around what is happening. One
>>> short question, how are the shadows drawn, is there another geometry
>>> that received the shadows ?
>>>
>> Yes, what I do is to calculate the bounding box of my scene and place a
>> transparent plane, created by makeCylinder, just below the box.
>
> I would suspect the transparent plane still writes the zbuffer and so
> occludes your custom post draw elements (I can recreate a similar
> effect). I'll check if there is an easy way to turn it off without
> disturbing the shadow computation.
I shuffled things round a bit, the z-buffer blit now happens earlier, so if
you transparent plane is detected correctly as being transparent it should
not write the z-buffer. Could you try if it improved things for your setup.
kind regards
gerrit
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users