Back to top

Home Blog Newsletter Unity Tips About Me Twitter

How to write Shaders in Unity

Simple Shaders Introduction using Unity

This article is a transcription/adaptation of my video about “How to write Shaders in Unity”. You can choose to watch the video, follow only the article or both. Enjoy!

Sprite Outline Shader

Sprite Outline Shader in Unity

In this “Unity Sprite Outline” tutorial we’ll discover how to create both a “Sprite Innerline” and a “Outer Sprite Outline”. Simply, the Inner Sprite Outline shader is drawn “inside” the sprite, while “Outer” is the opposite

Fire Shader

Fire Shader Tutorial for Unity

Here’s how to create a Fire Shader. As always, you can also find below the HLSL Shader and, if you’re supporting me on Patreon, the download link for the Unity Package.

Pickable Objects Shader

Pickable Objects shader Tutorial in Unity

Here’s how to create a simple effect to communicate to the players which objects are pickable, interactive etc.

Vertex Shader

Vertex Shader Tutorial for Unity

A Vertex Shader lets you create different effects by moving your objects’ vertices in the scene, such as: waves, distortion around force fields (such as black holes), melting, flags movement, grass movement if the player steps on it and way...