[osg-users] different materials for a geometry and highlight

Gianni Ambrosio g.ambrosio+osg at gmail.com
Mon Sep 26 06:03:16 PDT 2016

Well, Nick,
I have to say I didn't understand what Sebastian suggested since I'm not familiar with shaders. As far as I understood a shader can not be debugged and I don't know if they are testable. Moreover the code is in a place different from the usual code, so something that has effect in the application but in some way disjoined. I'm not sure I would like such a solution.

Please consider also one more thing I didn't mention so clearly. After changing the color of triangles of my surfare, then at a certain point I have to update also an underlying code structure according to the new colors. Is there a way using a shader also to handle this part of the implementation?


Read this topic online here:

More information about the osg-users mailing list