Baltor Get started

Gallery / Procedural textures

CRT phosphor mask: aperture grille, delta dots and slots

In your harnessProcedural textureMIT

Generate tileable maps of a CRT screen's phosphor layer: aperture-grille stripes with damper wires, a delta shadow mask of RGB dots or a staggered slot mask, with scanlines and an optional picture, as glowing emissive subpixels. Use for retro monitors, arcade cabinets, terminals and screen overlays.

Render of CRT phosphor mask: aperture grille, delta dots and slots
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, height, ao, emissive
Parameters
mask, triads_across, scanlines, scan_strength, picture, spot, glow, hue_shift and 2 more
Presets
default, shadow_mask_delta, slot_mask, arcade_low_res
Tileable
yes
Command line
python crt_phosphor_mask.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 close-up pattern, not a display simulation: phosphor spots have Gaussian profiles, the beam adds a fixed scanline profile, and there is no convergence error, bloom, persistence, curvature or glass reflection. The picture is a smooth procedural image sampled per subpixel. Counts are whole numbers across the tile so the mask repeats; fine pitches alias when a stripe or dot is narrower than about three pixels. Phosphor primaries are approximate sRGB colours.

Details

Kind
Procedural texture
Engine
Python 3.10 or later
Files
12 files, 273.0 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
Aperture grille stripes with damper wire shadows, Delta shadow mask on a triangular lattice with a three-colouring of rows, Slot mask with alternate triads offset by half a slot, Gaussian phosphor spot and scanline beam profiles, Whole-number triad and row counts for exact tiling
Tags
texture, tileable, crt, phosphor, scanlines, retro, screen, emissive
Identity
library.supply.creative_originals.9b15fdf39ad8913d3e38571d.610a46a4cb8d842e
Version
610a46a4cb8d842e75de0eb8d0fc9aea4b0b66c69b63bce841540b0f02a6e6e4

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.