Skip to documentation
CranberryClock.Ideas / Systems / Design

INDEPENDENT TOOL / v0.1.0

FluxIntegration guide

Install Flux, connect it to your project, and understand the integration boundaries.

Start with the package archive.

Download Flux v0.1.0 ↓, then follow the installation instructions below. Commands that pack source files run from the public repository checkout.

Install

Not published to npm. Pack this repository folder, then install the tarball:

bash
npm ci
npm pack ./dist/packages/flux
# In your own project:
npm install three@0.180.0 /path/to/cranberry-forge-flux-0.1.0.tgz

ES modules and TypeScript declarations are included. TypeScript consumers also need compatible @types/three. Tested with Three.js r180 / WebGLRenderer. ShaderMaterial-based; WebGPU is not supported by this release.

Visual integration

The shader makes a soft edge and bright inner core. Standard output/tone-mapping choices still affect the scene. The showcase uses native Three.js EffectComposer, UnrealBloomPass and OutputPass. Bloom is optional and not included in the package. Additive transparency is intentionally luminous and can become saturated at overlaps. It does not provide opaque smoke, refractive ribbons, collision or particles.

View versioned source on GitHub ↗