#lighting
Working out how bright a surface is from where the light is. The simplest kind, diffuse light, is how squarely the surface faces the light: the dot product of its normal and the direction to the light.
2 shaders
Working out how bright a surface is from where the light is. The simplest kind, diffuse light, is how squarely the surface faces the light: the dot product of its normal and the direction to the light.
2 shaders