Shader Graph comes with over 200 nodes, and in this mammoth article, I'll explain how each one works with examples.
Shader Graph comes with over 200 nodes, and in this mammoth article, I'll explain how each one works with examples.
HLSL shader code in URP works slightly differently to the built-in pipeline. If you've never worked with shader code before, this is a good place to start!
Snow only falls and stays on the upper surfaces of objects, so we can run the dot product with the up-vector to find which surfaces should have snow applied.
With alpha clipping and raycasts, we can find out which walls obscure a specific object and cut out holes to keep the object visible.
We can modify the normal vector of a surface to change the way lighting falls on it, and distort the Scene Color to refract the view behind the object.
Shader Graph is Unity's node-based shader creation tool, and this article will show you the basic inputs, outputs, and operations you can use.
C# is the scripting language used for writing Unity scripts, which controls the behavior of game objects. Learn how to write basic scripts with this article.
The Metal Gear Solid series uses camouflage mechanics to add to the stealth action. You can mimic the Octocamo mechanic by detecting which texture is being used on nearby objects.
Retro consoles could display a limited number of colors, and we can emulate them by posterizing the color output by our shader.
For a hand-drawn sketched loop, we can apply a special overlay texture in screen space which animates with a modulo clock.
It's always possible to iterate on an effect, so we'll add features like grainy and wobbly imperfections to this hologram.
Holograms are a staple feature of futuristic sci-fi games, and it's as simple as applying scanlines vertically and adding Fresnel lighting.
Passing messages between GameObjects is something you'll do all the time, so it's important to know the best ways to do it.
VFX Graph is the new way to draw particles on the GPU, so let's push it to the limit and render a million particles.
By combining Shader Graph and VFX Graph, we can create a reactive puddle effect which draws ripples together with raindrop particles.