Baltor Get started

Gallery / Procedural textures

Leaded stained glass in three layouts

In your harnessProcedural textureMIT

Generate tileable maps of leaded stained glass: irregular cathedral pieces, diamond quarries or circles in squares, each pane a hashed glass colour with streaks and seed bubbles in raised lead came, with an emissive map of the light through it. Use for church, Victorian and fantasy windows and lamps.

Render of Leaded stained glass in three layouts
The render its check recorded in Godot 4.7.2, 256 by 256 pixels.

What it takes and gives

Entry point
generate
Maps
albedo, normal, roughness, metallic, height, ao, emissive
Parameters
layout, pieces, lead_width, streaks, seeds, glow, hue_shift, saturation and 1 more
Presets
default, diamond_quarries, victorian_circles, amber_opalescent
Tileable
yes
Command line
python stained_glass.py --size 1024 --seed 7 --preset NAME --out DIR [--width W --height H] [--set NAME=VALUE] [--directx-normal] [--orm]
Godot material
material.tres
Blender builder
blender_material.build_material(folder)

Limits. A flat panel without refraction, transmission depth or painted figures and grisaille. Glass colour, streaks and bubbles are stylized; streak directions come from a small set of whole-number vectors so they repeat across the tile edge. Solder blobs are drawn only where quarry leads cross. Backlighting is an emissive map of glass colour, not a light transport model, and the engine sets its strength. Occlusion is a blurred-height estimate.

Details

Kind
Procedural texture
Engine
Python 3.10 or later
Files
12 files, 226.5 KB
Licence
MIT
Declared effects
runs commands, writes files
Checked with
Godot 4.7.2, gl_compatibility
Checks
command line generates declared maps, maps decode, maps have declared size and channels, maps tile without a seam, normal vectors unit length facing out, maps carry detail, godot imports the maps, godot material template loads every map, godot compatibility render, capture shows the textured surface, blender builds the material
Techniques
Worley cells for irregular cathedral panes, Diamond lattice from n(u + v) and n(u - v), Circles inscribed in a square grid, Hashed weighted palette choice per pane, Exact border distance with a rounded came profile, Directional sine streaks on whole-number vectors with noise, Height to tangent-space normal by central differences
Tags
texture, pbr, tileable, stained glass, window, lead came, emissive, church
Identity
library.supply.creative_originals.01fb138836d4fcf811c0efbd.b1ee0a45101e528c
Version
b1ee0a45101e528cf7273a329675b1687242d97bbbca2495c3f65fc69eeb79bf

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.