Hi Guys

Yes I have a GLES2 version of shader gen. At the moment it only supports a 
fixed hardcoded light position, which isn't great but it does support, 
texturing, lighting etc.

I've attached it and we can look at including into core osg, but I think 
support for at least the initial position of one light source would be good. 
Also we need to either test for backward compatibility with GL2 or have two 
versions of ShaderGen in the core. 

I know Roberts long term goal is to introduce a Shader Composer system (bits 
and pieces already exist), but this can work as an aid to new developers until 
then.

Let me know how you get on with it.
Tom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=47224#47224




Attachments: 
http://forum.openscenegraph.org//files/gles2shadergen_157.zip


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to