Baltor Get started

Gallery / Godot shaders

Energy beam with scrolling core and jitter

In your harnessGodot shaderMIT

Additive energy beam on an open cylinder: a bright core from the facing ratio, noise and pulses scrolling along the length, tapered ends and a slight radial jitter in the vertex stage.

Render of Energy beam with scrolling core and jitter
The render its check recorded in Godot 4.7.2, 256 by 256 pixels.

What it takes and gives

Shader type
spatial
Render modes
unshaded, blend_add, cull_disabled, depth_draw_never, shadows_disabled
Parameters
core_color (vec4 = 1, 0.95, 0.85, 1), beam_color (vec4 = 1, 0.3, 0.15, 1), intensity (float = 2), core_sharpness (float = 3), scroll_speed (float = 3), noise_scale (float = 10), pulse_spacing (float = 0.25), pulse_strength (float = 0.6) and 2 more
Use it on
An open CylinderMesh (or any tube) with V running along its length.
Result
A glowing orange beam with a white core and bright pulses travelling along it.
Renderers
compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
Placement
res://baltor/godot_shaders/energy_beam_cylinder/

Limits. Additive, so it is invisible on white backgrounds. Thin beams far from the camera alias without MSAA. The core is computed per pixel from the facing ratio, so very low radial segment counts show facets.

Details

Kind
Godot shader
Engine
Godot 4.3 or later
Files
11 files, 55.8 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
Facing ratio core brightness, Scrolling value noise and periodic pulses, Vertex radial jitter, Value noise with quintic interpolation and fractional Brownian motion
Tags
godot shader, spatial, beam, laser, energy, additive, sci-fi
Identity
library.supply.creative_originals.aa4c0b7f302284e7aa1979dd.07301f79ad855330
Version
07301f79ad855330f8a25a1a73e8661ce1ef6a9e3596d1cd73c2ca75b07e20e1

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.