meshlabjs
meshlabjs copied to clipboard
Backface rendering
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.