Category Archives: Shaders

XNA Shader Programming source now on GitHub

As with the Commodore 64 programming tutorial series, I have now moved all the source from my XNA Shader Programming tutorial series to GitHub. The XNA Shader Programming series goes through the theory and the HLSL implementation of various effects … Continue reading

Posted in Math, Shaders, XNA, XNA Shader Tutorial | Leave a comment

Unity 5 Shader Programming #3: Specular Light

Hi, and welcome to Tutorial 3 of my Unity 5 Shader Programming tutorial. Today we are going to implement an other lighting algorithm called Specular Light. This algorithm builds on the Ambient and Diffuse lighting tutorials, so if you haven’t … Continue reading

Posted in Shaders, Tutorial, Unity | 2 Comments

Unity 5 Shader Programming #2: Diffuse Light

Hi, and welcome to Tutorial 2 of the Unity 5 Shader Programming series. Today we are going to work continue where we left on Tutorial 1. We will make the lighting equation a bit more interesting this time by adding … Continue reading

Posted in Shaders, Tutorial, Unity | 10 Comments

Unity 5 Shader Programming #1: An introduction to shaders

So, you want to learn the magic that turns 3d models and textures to gold? This tutorial is the first part of a series where I will cover a lot of different shaders – much like my XNA shader tutorial … Continue reading

Posted in HLSL, Shaders, Tutorial, Unity | 9 Comments