I think I have understood what to do, more or less. The Problem is, that nothing changes. I can remember that I have read that you need some kind of callback for the texture. Is this correct and can someone explain me in a little bit more detail what kind of callback I need and what it is for? Thank a lot.
Robert Osfield schrieb: > 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] >> University Koblenz >> Triererstr. 105, 56072 Koblenz, >> HIWI FB4 Herr Jackel >> ---------------------------------------------------------------- >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> >> > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- ---------------------------------------------------------------- Marcus Fritzen E-mail: mfritzen at uni-koblenz.de University Koblenz Mobil: +491786867360 Triererstr. 105, 56072 Koblenz, HIWI FB4 Herr Jackel ---------------------------------------------------------------- _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

