I don't know of any good general effects libraries, basically the problem with this type of stuff it tends to be pretty specialized for your rendering pipeline, and OSG allows a lot flexibility with setting up rendering pipelines, making one size fits all solutions for something like SSAO to be tough.
I strongly suspect rolling your own solution for a lot of the effects is going to be the easier way of going. I would look at the osgdeferred example, which is good to show you how to do multiple passes, which is key for most of these effects: For SSAO, you want to setup a rendering pipeline like: Forward Depth Pass->A SSAO pass ->Blur Pass ->Lighting Pass A basic tutorial on SSAO: https://learnopengl.com/Advanced-Lighting/SSAO For shadows, OSG does have osg::shadows, which works......but if you have a larger scene, and have a more complicated pipeline....you are likely better off creating your own, which basically involves a depth pass from your lights perspective, then your forward lighting pass. A basic tutorial on shadow mapping: https://learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping On Tuesday, September 29, 2020 at 12:42:16 PM UTC-5 [email protected] wrote: > > - > > hi~Vaillancourt .What effects libraries are there to implement > shadow and SSAO rendering effects for scenes? > > 在2020年9月21日星期一 UTC+8 下午11:43:34<[email protected]> 写道: > >> Hello Mirr..o? >> >> You might want to describe what features you're after exactly, others >> will be able to get you better help. >> >> FWIW we use sundog's SilverLining for clouds and sky. >> >> -- >> Vaillancourt >> > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/7688ede6-1116-48f9-9e1e-d709379e648an%40googlegroups.com.
