Nebula Fog

In the Scripting CourseScripting Course file

Two fbm fields at different scales drifting in opposite directions, each squared so only the dense parts glow, one tinted violet, one blue, over a near-black void. Squaring is what makes it read as gas instead of cloud. In the course this is the NebulaFog node behind the planets, and the base of the fire's orange glow.

New to shaders? Read Rive Shaders Explained →

Live
rive-shader-library.revIn the Scripting Course

Nebula Fog on its own artboard in the library file, with the ShaderQuad node and the WGSL, Inputs for Depth, Drift. Copy the artboard into any Rive file.

Learn to write this one: Lesson 355 · Nebula as a Shader

More from the Scripting Course

See all →
In the course
Fire Burst
In the course
Screen Glitch
Free Rive file

Noise, as a Rive file, on us

The Noise shader with the GPU Canvas node wired and the WGSL inside. Drop it into any Rive file and see how a shader lives there.

The other 27, in the course

Every shader here, as a ready-to-drop Rive file

Play with all of them here. The library file, every shader on its own artboard, comes with the Scripting Course, next to the lessons and the Space Game it belongs to.