Rendering: Fixes shader bug. Attenuation function returned float when float4 was needed.