SDK JS
    Preparing search index...
    • Interpolate the direct-light + ambient lighting ramp for a solar altitude.

      Parameters

      • altitudeDeg: number

        Solar altitude above the horizon, degrees. Clamped to the top/bottom keyframe outside the table's [−18°, 60°] range.

      Returns SunRamp

      The SunRamp (direct colour + intensity, ambient colour + intensity).