AddedGloss
ABSTRACT
The AddedGloss operation adds a glossy effect to the provided meshes in the mesh-tree, suitable for 3d scenes. It doesn't look that good currently, but should hopefully look better in the future.
PARAMETERS
mesh | Represents the mesh-tree containing meshes to which the glossy effect will be applied. All provided meshes will have glossiness added. |
root | The root of the mesh-tree, serving as the container for mesh selection. |
tag_predicate(tag) | Determines whether a mesh should have the glossy effect applied based on the provided tag. |
RETURN
If the complete mesh set is provided, all meshes will have the glossy effect added. The return value is the mesh-tree of all the meshes with added glossiness. However, if only a subset is chosen, the returned value will comprise a mesh-tree of the selected meshes with the glossy effect, while the unselected meshes will remain unchanged. Crucially, all meshes you didn't select will still be included in the result mesh_tree, but be provided as is (i.e., without the added glossy effect).
DECLARATION
func AddedGloss([mesh_tree] {[full] {mesh}, [tag_pred] {root, tag_predicate(tag)}})