[osg-users] Shadows and osgRecipe

Anders Backman andersb at cs.umu.se
Thu Feb 25 07:48:45 PST 2016


Well you are using a custom shader for the shadows and not the one used
internally in osg. So....there might still be an issue with the combination
of EffectCompositor and OsgShadow.

/Anders
On Thursday, 25 February 2016, michael kapelko <kornerr at gmail.com> wrote:

> Hi.
> I have the sample that worked just fine:
> https://bitbucket.org/kornerr/osg-deferred-shading
>
> 2016-02-25 2:00 GMT+07:00 Anders Backman <andersb at cs.umu.se
> <javascript:_e(%7B%7D,'cvml','andersb at cs.umu.se');>>:
>
>> Hi all.
>>
>> Has anyone tested the EffectCompositor together with osgShadows?
>>
>> My problem is, that as soon as I add a shadowed scene as a child of an
>> EffectCompositor, the shadows becomes all wrong.
>> It looks like the shadow light sources follows the camera, sort of.
>>
>> The attached effect (asd.xml) is just a pass-through effect.
>>
>> Other than this, is there any other good way of defining post-render
>> effects in OSG these days?
>> osgPPU seems to have fallen into sleep, and I cannot see any other good
>> way of constructing this.
>> The EffectCompositor really looks great. But...shadows does not work.
>>
>> Anyone with insight into this?
>>
>>
>> /A
>> --
>> __________________________________________
>> Anders Backman, HPC2N
>> 90187 Umeå University, Sweden
>> anders at cs.umu.se <javascript:_e(%7B%7D,'cvml','anders at cs.umu.se');>
>> http://www.hpc2n.umu.se
>> Cell: +46-70-392 64 67
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> <javascript:_e(%7B%7D,'cvml','osg-users at lists.openscenegraph.org');>
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>

-- 
__________________________________________
Anders Backman, HPC2N
90187 Umeå University, Sweden
anders at cs.umu.se http://www.hpc2n.umu.se
Cell: +46-70-392 64 67
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160225/416a91f1/attachment-0003.htm>


More information about the osg-users mailing list