Link Search Menu Expand Document

Voxels with procedural sky

A voxel model sits beneath a changing sky, with volumetric clouds above it and depth-based lighting giving the foreground shape.

The clouds come from a generated volume, while the model is rendered as geometry. Depth keeps the sky behind the foreground in score’s reverse-Z rendering system. Depth-based shadows, shading and a moving light treatment add detail before bloom, grain and chromatic aberration finish the image.

The sky and depth effects need the same viewpoint as the voxel renderer. Shared Eye and Target controls drive both paths; keep them aligned when adapting the composition.

Try it

Open the ZIP directly in score; the voxel model is included. Start playback and vary the cloud settings, then the depth-effect strengths. Adjust Bloom last: it adds glow to the finished image without changing the sky or the surface shading.

To use your own supported voxel asset, select it in Voxel file and adjust the loader’s transform to frame it. Rendering is native, and compute-shader support is required. The depth shaders also include depth_helpers.glsl: install the csf-examples package with its shaderlib/depth directory intact, even though the main shader code is stored in the score.

Try this on web

Download this example