I want to create a light source whose light colour will change with ray length.
Example:
(light src)______________
| \ \_______
| \ \______
|(red) \ (green) \(blue)
(plane)_______________________________________________________________