[osg-users] Fixed pipeline lighting to shaders
Glenn Waldron
gwaldron at gmail.com
Mon Aug 12 06:44:47 PDT 2019
Here's some shader code you can use as a reference (not a complete solution
on its own). There are also some links in the code comments you can
research.
https://github.com/gwaldron/osgearth/blob/master/src/osgEarth/PhongLighting.frag.glsl
On Sat, Aug 10, 2019, 1:49 AM Catalin <inbox.icf at gmail.com> wrote:
> Hi,
>
> Does OSG has some shaders that replicates the fixed pipeline of OpenGL
> (1.x) with the 8 lights?
>
> Thank you,
> Catalin
> _______________________________________________
> 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/20190812/dec8d571/attachment.html>
More information about the osg-users
mailing list