<div>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. <br></div><div><br></div><div>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:<br></div><div><br></div><div>For SSAO, you want to setup a rendering pipeline like:</div><div> Forward Depth Pass->A SSAO pass ->Blur Pass ->Lighting Pass</div><div>A basic tutorial on SSAO:<br></div><div>https://learnopengl.com/Advanced-Lighting/SSAO</div><div><br></div><div>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. <br></div><div>A basic tutorial on shadow mapping:<br></div><div>https://learnopengl.com/Advanced-Lighting/Shadows/Shadow-Mapping<br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Tuesday, September 29, 2020 at 12:42:16 PM UTC-5 mirr...@gmail.com wrote:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><ul><li><p>hi~Vaillancourt .What effects libraries are there to implement
shadow and SSAO rendering effects for scenes?</p></li></ul><div class="gmail_quote"><div dir="auto" class="gmail_attr">在2020年9月21日星期一 UTC+8 下午11:43:34<<a href data-email-masked rel="nofollow">alexandre.vai...@gmail.com</a>> 写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Mirr..o?<br><br>You might want to describe what features you're after exactly, others will be able to get you better help. <br><br>FWIW we use sundog's SilverLining for clouds and sky. <br><br>-- <br>Vaillancourt<br></blockquote></div></blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/7688ede6-1116-48f9-9e1e-d709379e648an%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/7688ede6-1116-48f9-9e1e-d709379e648an%40googlegroups.com</a>.<br />