Cyanilux

Game Dev Blog & Tutorials

URP

Sword Slash Shader Breakdown

A shader applied to a ring mesh that pans a texture along it to create a swipe/slash effect

URP
Shader Graph

Writing Shader Code in Universal RP (v2)

Explains how shader code (ShaderLab & HLSL) is written to support the Universal RP

HLSL
URP

Holofoil Card Shader Breakdown

A shader that replicates the Holographic Foil effects on Trading Cards. Also explains the stencil shader effect on the card window.

URP
Shader Graph

Soft Foliage Shader Breakdown

Soft shaded foliage shader that uses alpha clipping with foliage texture and a small amount of vertex displacement to simulate wind. Applied to a mesh consisting of intersecting quads generated from a particle system

URP
Shader Graph

Intro to Shader Graph

A detailed introduction on how to use Unity Shader Graph (updated for v12+)! Graph setup, Data types, Understanding Previews, Properties, Keywords, Sub Graphs and more!

Shader Graph
URP
HDRP

Crystal Shader Breakdown

An unlit/glowing crystal shader with a colour gradient based on object space Y position, and refraction via Scene Color node

URP
Shader Graph

Fire/Flame Shader Breakdown

A shader which distorts the UVs with noise for sampling a fire texture or shape generated using ellipse nodes

URP
Shader Graph

Sprite Glow/Outline Shader Breakdown

A shader which uses a signed distance field stored in the sprite texture's alpha channel to create an outline/glow (and inner-glow) effect, with control over the colour and thickness

URP
Shader Graph
2D

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


License / Usage Cookies & Privacy RSS Feed