Hi,

I've just submitted a related code sample to osg-submissions. It currently
does bump mapping and soft shadows.

Things to improve are:
  - this needs to support more light sources (not necessarily for shadowing
though)
  - it needs better material handling (support for emissive colors,
reflective surfaces, gloss maps...)

Christian

2016-02-14 22:02 GMT+01:00 Sebastian Messerschmidt <
sebastian.messerschm...@gmx.de>:

> Hi Vincent,
>
>> Is OSG capable to doing a pipeline featuring deferred shading, normal
>> mapping and shadow mapping, with point lights and directional lights?
>>
> Yes, but it will require some work.
> The only problematic part is the shadow mapping, as the current
> implementations created some headache when it came to separate
> shadow-mapping and lighting pass.
> You can take a look at osgPPU for minimal example IIRC. At least there is
> some example how to setup MRT-FBO and multiple passes.
> OpenFlightGear seems to have some deferred pipeline too, so may asking in
> their forum might give you some additional hints.
>
> Cheers
> Sebastian
>
>
>> ------------------
>> Read this topic online here:
>> http://forum.openscenegraph.org/viewtopic.php?p=66115#66115
>>
>>
>>
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users@lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to