meshlabjs icon indicating copy to clipboard operation
meshlabjs copied to clipboard

Backface rendering

Open cignoni opened this issue 9 years ago • 0 comments

Add another option to backface rendering among the options of the filled rendering. Currently it is:

  • Backface culling -> on/off

It should became a three option widget:

  • Backface -> on/colored/off

where colored means that backfaces are slightly red-tinted and front faces are slightly blue-tinted

Desktop MeshLab offers a similar effect using "fancy lighting". Here should be done only in the filled rendering by adding in the fragment shader a color bias as final step.

cignoni avatar Feb 12 '16 10:02 cignoni