This flexible light shader allows the user to control a light’s color and falloff via gradient controls.
Unlike realistic light shaders, minLight is designed to give the user full control over the color and falloff of a light source by providing ramp controls.
A color gradient controls the light’s falloff, so you could have a light that is white near the source and fades to blue as the distance increases. This can be very useful when designing a specific look for a scene, even though it is not necessarily a photorealistic effect.
minLight also allows you to control the shadow color with a ramp that works independently of the light’s color ramp.
Usage
Simply plug minLight into your shader’s light slot, choose a pleasing combination of colors and hit render!



