Skip to main content

6 docs tagged with "shaders"

View all tags

Custom Shaders

Use ShaderMaterial for dissolve and edge effects with custom shaders that run on both WebGL and WebGPU backends.

Planar Mirror Reflection

Render planar reflections for mirrors and water by projecting the scene onto a plane with a reflective shader pass.

Planet Earth

Shade a globe with Earth textures, materials, and shaders to present a stylized planetary body in real time.

Rainbow Trail with Mesh API

Build a rainbow ribbon trail by updating mesh vertices and colors with the Mesh API for dynamic GPU-driven geometry.

Tutorial: Plasma Shader Chunk

Port a Shadertoy-style plasma effect into a material shader chunk so animated GLSL drives surface color in engine lighting.

Warp a Sprite with GLSL

Distort sprite UVs in a custom GLSL shader to create wavy or bulging effects without rebuilding mesh geometry each frame.