All examples · Shaders and post

When a shader is WebGPU only

What this example shows

The other half of the story, shown on purpose. This material carries only its WGSL half, so the dissolve runs on the left and the right draws through the built-in shader: same object, same tint and lighting, no effect, and one line in the console naming the material.

Drawing nothing would leave a hole with no clue; refusing to start would let one shader take the whole game down. Degrading is the least bad of the three. Reach for it knowingly: if the effect matters on a phone, give it a GLSL half or compose it as a graph.

Starting