Learn shader coding in Unity

WittyAdrian Other 2 3

Description

I’ll be following a tutorial on shader programming in Unity to learn how to actually make them myself and what I can even do with them. I’ve heard a lot about shaders already and I’m very curious to try my hand at it. In this project page I’ll be documenting some of the results as I learn them to showcase the different examples of shaders being taught by the tutorial.

Recent Updates

WittyAdrian 6 years ago

I’ve linked part 1 of the tutorial in the external links. In this tutorial I learned how to apply a simple effect to the camera. I’ve included a few examples of this below.

I’ve made a kind of drunk/high effect by feeding all the pixels on the X-axis through a sine wave. On the left is my scene, which is just static, but on the right you can see how the camera views it.

A slightly modified drunk effect makes it seem like there’s a sort of intense heatwave going on.

By making part of the vision inverted and then decreasing the brightness from the right side, it looks like a sort of permanent flashbang effect. Might be fun to flash quickly or fade away after being hit by something bright.

Last and also least, a simple red effect to the camera. This might also be nice to have as a damage effect, although it’s a bit much. Still wanted to show it off as a simple example of something I learned though.

Estimated Timeframe

May 25th - Jun 25th

Week 1 Goal

Week 2 Goal

Week 3 Goal

Week 4 Goal

Tags

  • Game
  • Unity
  • C#
  • Shader
  • Tutorial
  • Learning
  • showcase
  • example