threejs-worldgen
    Preparing search index...

    Function skyRadiance

    • Light scattered towards a camera at o (relative to the planet centre) looking along d, lit by a sun in direction sun with radiance scale intensity. Same model as the sky shader (no discs).

      Parameters

      Returns Vec3