Shader Graph is Unity's node-based shader creation tool, and this article will show you the basic inputs, outputs, and operations you can use.
Shader Graph is Unity's node-based shader creation tool, and this article will show you the basic inputs, outputs, and operations you can use.
The Metal Gear Solid series uses camouflage mechanics to add to the stealth action. You can mimic the Octocamo mechanic by detecting which texture is being used on nearby objects.
Retro consoles could display a limited number of colors, and we can emulate them by posterizing the color output by our shader.
For a hand-drawn sketched loop, we can apply a special overlay texture in screen space which animates with a modulo clock.
It's always possible to iterate on an effect, so we'll add features like grainy and wobbly imperfections to this hologram.
Holograms are a staple feature of futuristic sci-fi games, and it's as simple as applying scanlines vertically and adding Fresnel lighting.
VFX Graph is the new way to draw particles on the GPU, so let's push it to the limit and render a million particles.
By combining Shader Graph and VFX Graph, we can create a reactive puddle effect which draws ripples together with raindrop particles.
We can draw outline pixels around a sprite based on whether nearby pixels are opaque or transparent, as long as the sprite has some transparent padding.
Alpha clipping along a dither pattern can approximate real transparency if viewed on a high-resolution screen, despite using opaque pixels.
Dissolve is often used for destroying objects in games, or in reverse when spawning them in. Shader Graph makes it simple to make effects like these!
Surfing the seas in Zelda Wind Waker is so iconic because of the stylized water effect, which we can recreate with a Voronoi-style noise texture.
Metaballs are a method of simulating smooth surfaces, and by adding physics components to each one, with a bit of shader magic, we can simulate simple fluids.
With a bit of added custom HLSL code, we can use Shader Graph to create a cel-shaded lighting effect.