aeronautic

Installation

Install the package and its peer dependencies.

From npm

pnpm add @aeronautic/lights @aeronautic/core three@~0.186

For the React component, add React Three Fiber too, if you don't have it yet:

pnpm add @react-three/fiber react react-dom
peerversionneeded for
@aeronautic/core0.1everything: the flight and air
three0.186.xeverything
react19@aeronautic/lights/react
@react-three/fiber9 or 10@aeronautic/lights/react

Entry points

importwhat's in it
@aeronautic/lights/react<Lights> and its types.
@aeronautic/lightsThe plain three.js class, the lamps, the quality presets, defaults and types.
@aeronautic/lights/physicsThe rule's photometry, the colours, the flash, the haze, the glare and the beams.

The renderer must be three's WebGPURenderer. webgpu_gl() from @aeronautic/core/react makes one for <Canvas gl>.

Next, put lights on an aircraft.

On this page