CG Shaders – Multiple Lights in a Single Pass

One quick demonstration i wanted to make before moving on is multiple vertex lights in a single pass. Unity provides an array of 4 light positions which can be accessed in the vertex shader. By utilizing these, it is possible to run multiple lighting calculations in the Forward Base pass. However, this is not the […]