[osg-users] wireframe darker wrt the surface color

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Tue Apr 4 00:56:58 PDT 2017



Hi Gianni,


> Thanks Nick,
> I have to think it over since I've implemented a shader some months ago but  I'm not really familiar with. The point would be how to get the real geometry color? BTW, I can try.

I finally managed to take a look at the attached video. Most probably 
your problem is lighting. Your surface is shaded correctly while your 
wireframe stays constant. At a certain angle the lit result is simply 
the same color as your constant wireframe. Can you present the relevant 
code, where you set up the wireframe?

Cheers
Sebastian


>
> Anyway, isn't there a simpler way to get the desired result? Robert, any idea?
>
> Regards,
> Gianni
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70640#70640
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



More information about the osg-users mailing list