Just tryed it with light intensity, it was pretty cool. ramp3.colorEntryList[2].position = 1-(ambientLightShape1.intensity) that would need to be tweaked though