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 ✨| Cyan
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"| Cyan
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…| Cyan
An updated version of this article can be found here :https://www.cyanilux.com/tutorials/urp-shader-code/ Intro A lot of shader code tutorials you’ll see online are written for Unity’s built-in pipeline and won’t really work in the Universal Render Pipeline – They’ll either produce magenta errors or at least won’t be compatible with the SRP Batcher. Shader graph is … Continue reading "Writing Shader Code for the Universal RP"| Cyan
Note : Info in this post still applies but may be a little outdated as the Scene Color node has been updated in newer versions of Shader Graph. Please also see : Hey! I use the depth texture/buffer…| Cyan