Shading a Surface Using Mesh

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
Mathematica supplies a useful way to apply shading to 3D plots when a mesh lies over the figure (here, an ellipsoid).
Contributed by: David von Seggern (May 2012)
(University of Nevada)
Open content licensed under CC BY-NC-SA
Snapshots
Details
The resolution of the mesh is defined using the built-in Mathematica Mesh option. The option MeshShading then lets you define the pattern of the mesh shading. This can be made fairly complex, but in this Demonstration, only 2×2 matrices were used.
Permanent Citation
"Shading a Surface Using Mesh"
http://demonstrations.wolfram.com/ShadingASurfaceUsingMesh/
Wolfram Demonstrations Project
Published: May 22 2012