Jordi Torres wrote: > > > Did you tried to add normals to the instaced geometry? > > > > > > > > Yes, I add normals. Do You think I should modify fragment shader to > > calculate light there? If I skip fragment shader at all then speheres are > > always black independently how would I try to apply some color to them. > > > > > > Thank you! > > > > Cheers, > > Mateusz > > > > ------------------ > > Read this topic online here: > > > > http://forum.openscenegraph.org/viewtopic.php?p=55820#55820 > > (http://forum.openscenegraph.org/viewtopic.php?p=55820#55820) > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > () > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org) > > > > > > > > > > -- > Jordi Torres > > ------------------ > Post generated by Mail2Forum
------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55823#55823 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org