Hi,
I was wondering, since we can have a lot of lights in a scene, which light(s) we can have in a pixel shader.
Of course in day time the dominant light is the one from the sun so the problem is solved, but what about night time ? Do we still get the sun light ? or the moon light ? or the light from the nearest / strongest light source ?
I now this won't have any visual impact in most situations and it's only important for shaders that use more than just the geometry normals (bump mapping, reflection mapping, etc) but I was just wondering
Also, can the 'normal' buffer be fed by the pixel shader to alter the normals or will this buffer only contain normals that come from the geometry ?
HJ.