[osg-users] Deferred shading + normal mapping + shadow mapping?

Christian Buchner christian.buchner at gmail.com
Fri Mar 11 08:49:53 PST 2016


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.messerschmidt at 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 at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160311/f2f2034a/attachment-0002.htm>


More information about the osg-users mailing list