I've moved to a new site! This wordpress blog will no longer be updated. You can find slightly updated/improved posts, and all future posts here : https://www.cyanilux.com/
Follow me on twitter to stay updated on when new posts go live, and to see cool shaders ✨
Welcome
Hey! I put this blog together so I can explain shader effects and other content posted on my twitter, @Cyanilux. The blog is mainly aimed at devs that use Unity3D and its Shader Graph for scriptable render pipelines (mostly URP), but the concept behind posts might still translate well to other engines and forms of shader creation. Note that content is made for learning purposes and might not optimised and game-ready.
Comments are disabled on posts, but if you have any comments, questions or suggestions please drop me a tweet. 🙂
Scroll down to view all Blog Posts, or use Categories on the right, or see the Contents Page.
Watercolour Shader Experiments
Shader Graph – Shadows for URP Unlit Graph
This was initially written as an answer to someone on the Unity Discord. Have tried updating it since v11 (2021.1) changed some things. I probably won't be updating further as I've moved to a new site. For up-to-date information, I've shared some custom lighting functions/subgraphs on github! It includes a Main Light Shadows one which …
Continue reading "Shader Graph – Shadows for URP Unlit Graph"
Retro CRT Shader Breakdown
Fire Shader Breakdown
Passing Particle System Data into Shadergraph (Custom Vertex Streams)
Intro This post provides information on how to use the Custom Vertex Streams option on the Particle System component (also called Shuriken) to pass per-particle data into the shader. Note that it won’t go over how to use the component itself but there are plenty of tutorials online – here’s one that looks well written. In …
Continue reading "Passing Particle System Data into Shadergraph (Custom Vertex Streams)"
Post Processing in the Universal RP
The Universal Render Pipeline (URP, previously known as Lightweight RP) uses an integrated Volume system for Post Processing effects, sometimes referred to as Post Processing V3 / PPv3. These effects include things like Bloom, Chromatic Aberration, Depth of Field, Color Adjustments, Tonemapping, Vignette, etc. Note that URP does not have Ambient Occlusion yet, it's on …
Writing Shader Code for the Universal RP
Sprite Glow/Outline Shader Breakdown
Orthographic Depth
Hey! I use the depth texture/buffer (Scene Depth node) in quite a few of my shader breakdowns, but the graphs given only work with a camera with a Perspective projection, meaning objects further away from the camera are smaller on the screen, which gives a 3D effect. A camera can also have an Orthographic projection, …