What The Shadow Of The Sun Actually Is
The Shadow Of The Sun is a shadow mapping utility that runs as a standalone renderer. It takes a defined scene graph, applies a series of shadow cascade passes, and outputs either a set of baked textures or a real-time render stream depending on your pipeline. It is not a full ray tracer. It is not a game engine. It sits somewhere between a command-line rendering tool and a plugin for larger 3D workflows. I have used it on a few projects over the last few years. It handles hard shadow edges well, manages cascade variance better than most free tools I have seen, and the documentation is sparse but mostly accurate once you understand how it organizes scene data.
Installation And Setup
The tool is distributed through its official channel. You download the package, extract it to a directory, and run the initialization script from the root folder. On Linux I typically use a terminal session with a recent Mesa driver. On Windows, the same steps apply but you need to ensure the OpenGL core profile is available before launching. Missing that dependency causes the tool to exit silently, which is frustrating if you do not know what to look for. The configuration file lives at shadow_of_the_sun/config/settings.json. This is where most of your pipeline decisions are made. I recommend copying the default file and modifying a working copy rather than editing the original, because updates occasionally overwrite unmodified defaults and you lose custom settings. I recently hit a problem where the software refused to recognize a scene exported from Blender in GLB format. The shadows appeared completely black with no cascade structure. The workaround was to explicitly set the material shading model to PBR in the export settings, because the importer inside The Shadow Of The Sun has limited fallback behavior for older GLTF variants. After switching the export to use the newer extension set, the cascades rendered correctly within about two minutes of a test run.
Core Rendering Parameters
Shadow Cascade Configuration
The cascade system is the main feature of The Shadow Of The Sun. You define how many cascades you need, the near and far plane distances for each, and the shadow resolution per cascade. A typical production setup uses four cascades with resolutions like 4096, 2048, 1024, and 1024 pixels. Lower resolutions on distant cascades save memory without noticeable quality loss in most real-time applications. The bias parameter is where people usually make mistakes. The tool applies both normal bias and scale bias. If you set them too low, you get acne and z-fighting. Too high and the shadows detach from geometry. I typically start with a normal bias of 0.001 and a scale bias of 0.05, then adjust from there while inspecting the output at different camera angles.
Get the Full Details

Light Settings
Directional lights are the primary source. The tool supports multiple directional lights, but performance degrades linearly with each additional light because each one requires a full shadow map pass. I rarely go above two directional lights in a single render. Beyond that, I bake the secondary light into an ambient cube map or handle it in post. The color temperature control is useful but not as granular as some users expect. It spans roughly 2000K to 10000K with a linear curve. For realistic daylight at noon, I set it around 6500K. For sunset, closer to 3200K. The tool does not apply atmospheric scattering automatically, so you are still responsible for that in your compositing step if you need it.
Output Formats
You can export to EXR for high bit depth workflows, PNG for quick previews, or TGA for older pipeline compatibility. I recommend EXR whenever you plan to do further color grading. The difference in file size is significant but manageable on modern systems, and the dynamic range you retain makes post-processing much easier. A single directional light with four cascades at 4096 resolution on a mid-range GPU with 12GB VRAM typically renders a complex scene in about 15 to 30 seconds depending on polygon count. Simplified scenes complete in under five seconds. CPU-only mode is available but usually takes ten to twenty times longer, so I avoid it unless the GPU is occupied by another process. Memory usage scales roughly with total shadow map resolution. Four cascades at the resolutions I mentioned above consume approximately 1.2GB of VRAM for the shadow buffers alone. If you are working with a scene that already uses significant GPU memory, you may need to reduce cascade count or resolution to stay within limits.
Known Limitations
The tool does not support soft shadows out of the box. You can approximate softness using penumbra settings, but the results are less natural than PCF or variance shadow maps found in commercial engines. If soft shadows are critical to your project, you will need a supplemental pass or a different tool for that specific requirement. Another limitation is the lack of Vulkan backend support. The current version only runs on OpenGL 4.3 and above. If your pipeline is built around Vulkan, The Shadow Of The Sun will not integrate cleanly without a conversion layer, and I have not found a reliable one that preserves shadow accuracy. There is also no built-in animation export for shadow maps. You need to render frames individually or use a batch script to loop through your timeline. The batch script approach works fine once you set it up, but it adds a layer of complexity that new users often overlook.

When To Use It Versus Alternatives
The Shadow Of The Sun is worth using when you need a lightweight, scriptable shadow rendering tool that integrates into a custom pipeline. It is not ideal for teams that rely on existing engine integrations or require real-time interactive feedback during scene setup. In those cases, a full game engine or a more feature-complete rendering solution may save more time overall. For solo developers and small studios working on stylized or indie projects, the tool covers the basics well enough to produce professional results. The learning curve is moderate, the community is small but helpful on the official Discord, and the developer responds to bug reports reasonably quickly based on my observations. If you decide to try it, start with a simple test scene before applying it to a complex project. The documentation assumes some prior knowledge of shadow mapping theory, and getting your first cascade correct without a reference scene can take longer than it should.
You can find the latest version and download links on the official project page. As with any rendering tool, test it against your own scenes and verify that the output meets your quality standards before committing to it as a primary pipeline component.