Skip to content

Add Shading to ScalarRenderer

Nicole Marsaglia requested to merge nicolemarsaglia/vtk-m:master into master

This branch adds the visible shading coefficients to the default output of ScalarRenderer (similar to depth).

Old Way: Adding the geometry vertices (x0,..,x2,y0,...,y2,z0,...,z2) to the input data set as 9 extra fields, calculating the visible vertices, and then calculating the shading coefficients via worklets.

Merge request reports

Loading