Baltor Get started

Gallery / Godot shaders

Ice with surface and inner Voronoi cracks

In your harnessGodot shaderMIT

Ice material with white Voronoi crack lines on the surface and a second crack layer that appears below the surface through tangent-space parallax, plus a cold frost rim and glossy highlights.

Render of Ice with surface and inner Voronoi cracks
The render its check recorded in Godot 4.7.2, 256 by 256 pixels.

What it takes and gives

Shader type
spatial
Parameters
ice_color (vec4 = 0.62, 0.82, 0.95, 1), deep_color (vec4 = 0.12, 0.32, 0.58, 1), crack_color (vec4 = 0.95, 0.98, 1, 1), cell_scale (float = 5), crack_width (float = 0.035), inner_depth (float = 0.15), inner_strength (float = 0.55), frost_rim (float = 1.2) and 1 more
Use it on
A mesh with UVs and tangents (Godot primitive meshes have both).
Result
Pale blue ice with bright fracture lines on top and fainter fractures that shift inside as you move.
Renderers
compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
Placement
res://baltor/godot_shaders/ice_crack_voronoi/

Limits. The inner layer is a single parallax offset, not refraction or real volume; at grazing angles it smears. Not transparent; objects behind the ice are not visible. Crack density follows the mesh UVs, so stretched UVs give stretched cells.

Details

Kind
Godot shader
Engine
Godot 4.3 or later
Files
11 files, 79.0 KB
Licence
MIT
Declared effects
reads files, runs commands
Checked with
Godot 4.7.2, opengl3 compatibility (Mesa llvmpipe, Xvfb)
Checks
contract static, engine run, engine log clean, shader in scene, capture written, render not uniform, shader changes pixels
Techniques
Voronoi (Worley) cell borders from F2 - F1, Tangent-space parallax offset for a second layer, MurmurHash3 32-bit finalizer over prime-combined lattice coordinates as a hash
Tags
godot shader, spatial, ice, voronoi, cracks, parallax, frozen
Identity
library.supply.creative_originals.9418029b6a73c62898447b68.6312c0b44395caef
Version
6312c0b44395caef541929f6264a8157aa3b35b21e2d6505c6206488d6f35eb8

The version is the SHA-256 of the item your harness downloads; every file in it names its own checksum.

Something wrong with this item, its rights or its safety? Report it on the support page, or from your harness after a download.