Starting to learn CG shader language
Over the last few days, I have been learning about the CG shader language for Unity 3D. I started out following a tutorial to make a simple lambert shader, as pictured here. Shaders use trigonometry to calculate the lighting on each pixel or vertex or the mesh. To find the brightness of a specific area, […]