[osg-users] Are there any good effects libraries that can be integrated into OSG?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Wed Sep 30 07:29:35 PDT 2020


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 mirr... at gmail.com 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<alexandre.vai... at gmail.com> 写道:
>
>> 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 osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/7688ede6-1116-48f9-9e1e-d709379e648an%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200930/2179d974/attachment.html>


More information about the osg-users mailing list