Hi. Here's my example: https://bitbucket.org/kornerr/osg-deferred-shading ( http://youtu.be/AjWOSuLxZ68 ) It has 2 implementaions: plain OSG and EffectCompositor (not part of OSG). The basic idea behind my implementation is to: * render the shadow only information to texture; * do all the rest effects myself and then combine those with the shadow info.
2014-04-11 16:04 GMT+07:00 Trajce Nikolov NICK < [email protected]>: > yes. I will ping you on email > > Nick > > > On Fri, Apr 11, 2014 at 11:05 AM, Jaime <[email protected]> wrote: > >> Thanks for your response Nick. >> >> Yes, I have my bump shader. But I don't know how to combine. >> >> Please, could you give me an example with code?? >> >> Thanks! >> >> ------------------ >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=58878#58878 >> >> >> >> >> >> _______________________________________________ >> osg-users mailing list >> [email protected] >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > > > > -- > trajce nikolov nick > > _______________________________________________ > 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

