CRT monitor with curvature, scanlines and shadow mask
In your harnessGodot shaderMIT
Make the screen look like a curved cathode ray tube: barrel-curved image with rounded black corners, horizontal scanlines, an RGB aperture mask, glow from blurred mip levels and a vignette.

What it takes and gives
- Shader type
- spatial
- Render modes
- unshaded, cull_disabled, depth_test_disabled, depth_draw_never, skip_vertex_transform, fog_disabled
- Parameters
- screen_texture (sampler2D), curvature (float = 0.12), scanline_pixels (float = 3), scanline_strength (float = 0.45), mask_strength (float = 0.3), mask_pixels (float = 1), glow (float = 0.25), vignette (float = 0.6) and 2 more
- Use it on
- A MeshInstance3D with a 2 x 2 QuadMesh,
material.tresas its material override and a large extra cull margin, as indemo.tscn. - Result
- The scene curved inside a rounded tube frame with fine dark scanlines, coloured stripes and a soft glow.
- Renderers
- compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
- Placement
- res://baltor/godot_shaders/post_crt_monitor/
Limits. The aperture mask is tied to screen pixels and creates moire when the output is scaled. Curvature crops the picture edges. Glow depends on the screen texture's mipmaps. The pass reads Godot's screen texture after opaque geometry, so transparent objects drawn after it are not processed and its order among other transparent passes is not controlled.
Details
- Kind
- Godot shader
- Engine
- Godot 4.3 or later
- Files
- 11 files, 166.6 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
- Barrel coordinate warp, Cosine scanlines, Aperture grille mask by screen column, Mip-level glow
- Tags
- godot shader, spatial, post-process, crt, retro, scanlines, shadow mask, full-screen
- Identity
library.supply.creative_originals.b716b0d2d014c92f0329bab7.7b04d4fea4194f7c- Version
7b04d4fea4194f7c023a6f801b97c5fe67b02bc9e481dc4aada0303352d63221
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.
