[osg-users] osgShadow with GLES

Werner Modenbach Werner.Modenbach at texion.eu
Mon Jul 4 08:50:33 PDT 2016

Hi Pierre-Jean,

I was also doing some research in that.
I think the shader you adopted is not the only place where shaders have 
to be given.
I found some place with comments like
"I don't use my shader because the fixed function shaders have better 
This is just how I remember the comment - so not exactly reproduced.
To be honest the research was consuming to much of my time.
But it would be really great if share your solution if you manage to 
solve this.

- Werner -

Am 04.07.2016 um 17:48 schrieb Pierre-Jean Petitprez:
> Hi,
> I would like to use the osgShadow soft shadow map on an Android device (with GLES 2).
> I have already written my own Phong shader for my objects which works very well. Now I would like to add the shadow map. I have taken the shader code from the SoftShadowMap.cpp file and I have adapted it to add it in my own shader.
> But this does not seem to work, the applied shadow map is always fully white.
> Maybe this has to do with the texture coordinates that are used.
> Can someone enlighten me on using osgShadow with GLES 2 ?
> Thank you!
> Cheers,
> Pierre-Jean
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=67987#67987
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

*TEXION Software Solutions, Rotter Bruch 26a, D-52068 Aachen*
Phone: +49 241 475757-0
Fax: +49 241 475757-29
Web: http://texion.eu
eMail: info at texion.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160704/76483385/attachment-0003.htm>

More information about the osg-users mailing list