Shadows in Workbench
This feature can be enabled both for the viewport and a final render with the workbench engine.
When the render engine is set to Workbench the option can be found in Render Properties &gt; Options &gt; Shadow.

When the Viewport Shading is set to Solid, the same option is available for the viewport.