[osg-users] another shader question
Robert Osfield
robert.osfield at gmail.com
Wed Jul 25 02:37:48 PDT 2007
Hi Marcus,
On 7/25/07, Marcus Fritzen <mfritzen at uni-koblenz.de> wrote:
> 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.
You won't need a callback to do what you want, there are already
several render to texture examples that do way you are after, albeit
for different end results, but the set of the scene graph will be
similar. See the osgprerender, osgdistortion examples for different
ways of settings things up.
Robert.
More information about the osg-users
mailing list