threejs-worldgen
    Preparing search index...

    Function weatherSurface

    • Applies weather to a surface: wet darkening and gloss, snow on upward faces, char and embers, cracks and holes. p is a position in metres (object space), up how much the surface faces up.

      Parameters

      Returns SurfaceShading