top of page


Comprehensive Cheatsheet on Unity 2024/2025. CG Shader Operations & ShaderLab
by Pavel Zosim · v1.3 1. Introduction This post outlines core principles and practical tips for writing CG shaders in Unity. Whether you’re transitioning from ShaderGraph or diving into hand-written shaders, this guide provides you with an in-depth look at shader code structure , property declaration, and how the GPU processes shader code. We’ll also explore special ShaderLab features such as drawer attributes, tags, and SubShaders, and discuss how these concepts vary across
Pavel Zosim
Mar 924 min read


Shader Fundamentals in Unity/Unreal
edit v.0.6 Shader Fundamentals and Rendering Pipeline Shaders are small programs (with a “.shader” extension in Unity, and .usf/.ush in Unreal) that determine how surfaces interact with light . They perform mathematical calculations and execute a set of instructions (commands) to compute the color of every pixel covering an object . In essence, a shader tells the GPU—whose thousands of small, efficient cores are optimized for parallel processing—how to render objects based
Pavel Zosim
Mar 55 min read
bottom of page





