[osg-users] another shader question

Robert Osfield robert.osfield at gmail.com
Tue Jul 24 01:18:02 PDT 2007


Hi Marcus,

The way to do several rendering passes, using the result of the first
one in the second pass is to use create a render to texture Camera to
capture the first pass, then use the resulting texture in the second
pass.

Robert.

On 7/24/07, Marcus Fritzen <mfritzen at uni-koblenz.de> wrote:
> Hello everybody,
>
> I asked the question before in the old list. How can I realize more than
> one renderpass? What I want to have is two programs with each one
> fragment shader.
> In the first one I want to compute some things where I need
> neighbourinformation of pixels. In the second one I want to compute
> things on the modified first texture. So perhaps someone can tell me in
> short, what I need and what I have to do.
> Thanks,
>
> --
> ----------------------------------------------------------------
> Marcus Fritzen                  E-mail: mfritzen at uni-koblenz.de
> University Koblenz
> Triererstr. 105, 56072 Koblenz,
> HIWI FB4 Herr Jackel
> ----------------------------------------------------------------
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list