Re: [osg-users] depth test and Deferred Shading

2010-04-27 Thread Cedric Pinson
It's really draft right now, i will post when i will have something that is readable for a human :) I need to finish my experiment first Cheers, Cedric On Tue, 2010-04-27 at 14:24 +0200, Trajce (Nick) Nikolov wrote: > hi Cedric, > > > and chance to share your work on this? I am about to start wo

Re: [osg-users] depth test and Deferred Shading

2010-04-27 Thread Trajce (Nick) Nikolov
hi Cedric, and chance to share your work on this? I am about to start working on the same thing -Nick On Tue, Apr 27, 2010 at 2:20 PM, Cedric Pinson wrote: > I fixed the problem, attaching a depth buffer and using the same camera > for pass 1 and pass 2 and > > Thank you for your help > > On T

Re: [osg-users] depth test and Deferred Shading

2010-04-27 Thread Cedric Pinson
I fixed the problem, attaching a depth buffer and using the same camera for pass 1 and pass 2 and Thank you for your help On Tue, 2010-04-27 at 11:14 +0200, Cedric Pinson wrote: > On Mon, 2010-04-26 at 18:45 -0600, Paul Martz wrote: > > Cedric Pinson wrote: > > > I am doing a deferred shading an

Re: [osg-users] depth test and Deferred Shading

2010-04-27 Thread Cedric Pinson
On Mon, 2010-04-26 at 18:45 -0600, Paul Martz wrote: > Cedric Pinson wrote: > > I am doing a deferred shading and i have a problem to use the depth > > buffer as i would like. Here the order of drawing: > > consider using a scene A > > > > 1 Draw only in the zbuffer > > 2 setup a camera with mtr a

Re: [osg-users] depth test and Deferred Shading

2010-04-26 Thread Paul Martz
Cedric Pinson wrote: I am doing a deferred shading and i have a problem to use the depth buffer as i would like. Here the order of drawing: consider using a scene A 1 Draw only in the zbuffer 2 setup a camera with mtr and draw normal and color into two render target. Dont touch to the depth buff

[osg-users] depth test and Deferred Shading

2010-04-26 Thread Cedric Pinson
Hi, I am doing a deferred shading and i have a problem to use the depth buffer as i would like. Here the order of drawing: consider using a scene A 1 Draw only in the zbuffer 2 setup a camera with mtr and draw normal and color into two render target. Dont touch to the depth buffer - for this step