Cyanilux

Game Dev Blog & Tutorials

Recent Posts

(Most recent posts, from any category. Maximum of 10 posts - For full list, see Contents)

2D Water Shader Breakdown

A water shader intended for 2D, with pixelated highlights, distortion, reflections and simplified shoreline waves/ripples

URP
Shader Graph
2D

Local UVs for Sprites in Sprite Sheet/Atlas

A small post explaining how to convert the UVs of a sprite sheet (or sprites packed in an atlas) into local 0-1 coordinates across each sprite in the shader

Shader Graph
HLSL
2D

Ultraviolet Lights & Invisible Ink

Examples for revealing invisible objects (especially decals, such as fingerprints or hidden messages) based on lights, stencils and other masking methods

URP
Shader Graph

Book (w/ Turnable Pages) Breakdown

A book with pages that flip/turn via vertex displacement, and selects a portion of a texture containing all pages.

URP
Shader Graph

Rain Effects Breakdown

A few rain effects, including particles setup, and shaders for ripples in water/puddles and rain interacting with surfaces

Shader Graph

Waterfall Shader Breakdown

A waterfall shader that interacts with a sphere to part the flowing water. Uses a signed distance field and alpha clipping.

URP
Shader Graph

Custom Renderer Features

Goes through examples of Renderer Features and explains how to write Custom Renderer Features and Scriptable Render Passes for Universal RP

URP

Fractured Cube Breakdown

Uses a shader which displaces (scales/rotates) vertices of a prefractured mesh with pivots baked into UV maps

URP
Shader Graph
Blender

Swapping Colours

Examples of how to adjust/swap colours or colour palettes for a given texture/procedural input.

Shader Graph

Snowglobe Breakdown

Glass globe shader with background refraction & reflection. Particles are contained inside which inherit Rigidbody movements.

URP
Shader Graph
VFX Graph

License / Usage Cookies & Privacy RSS Feed