Cyanilux

Game Dev Blog & Tutorials

Shader Graph

Sprite Stencil Overlay Breakdown

An example of using the RenderObjects feature on the Forward Renderer to produce an overlay effect for sprites (not compatible with the 2D renderer)

URP
Shader Graph
2D

Dissolve Shader Breakdown

A shader which uses noise and step functions to discard pixels to create a dissolving effect. Also provides examples for dissolving based on height / Y and using view space position as UVs to avoid seams

URP
Shader Graph

Toon Glass Shader Breakdown

A shader which produces solid diagonal lines across a quad's surface that moves with the camera position to simulate toon-like glass reflections

URP
Shader Graph

Fog Plane Shader Breakdown

Two examples of vertical fog effects produced using the depth texture (scene depth)

URP
Shader Graph

Cloud Shader Breakdown

A shader applied to a flat subdivided plane where vertices are offset vertically based on layered noise, moving at different rates, to create a cloud effect. Also uses scene depth to produce a softer transition with intersecting game objects

URP
Shader Graph

Forcefield Shader Breakdown

A forcefield shader using fresnel effect for glowing edges, scene depth for object intersections and scene colour to produce ripples/distortion

URP
Shader Graph

Forcefield Shader Breakdown (Simple)

A simple version of a forcefield shader, using fresnel effect for glowing edges and scene depth for intersections with objects in the scene

URP
Shader Graph

Jellyfish Shader Breakdown

A shader that displaces vertices based on sine waves in order to animate a Jellyfish mesh

URP
Shader Graph

Vertex Displacement

A post explaining how to move vertices in Shader Graph, providing examples such as swaying grass and animated fish and butterflies. Also includes info about recalculating normal vectors.

Shader Graph

Water Shader Breakdown

A water shader that uses the scene color to produce distortion/refractions and reconstructs a position from the scene depth to project caustics on underwater objects

URP
Shader Graph


License / Usage Cookies & Privacy RSS Feed