Bunker Scene
A concrete bunker at night with a red BLANK sign. Behind it a hidden light flickers on, off and on again, and red god rays push through every opening in the facade. Dust drifts in front, film noise sits on top, and the camera circles slowly until the cursor takes over.
npx shadcn@latest add @compronents/bunker-sceneInstalls from ui.aryank.space. Needs a registry token and a one-time @compronents entry in components.json. The docs walk through both.
Checking access…
| Prop | Type | Default | Description |
|---|---|---|---|
| modelSrc | string | — | GLB with the facade and interior meshes. Defaults to the hosted bunker without its sign. |
| dracoDecoderPath | string | — | Draco decoder folder, only needed for a Draco-compressed model. |
| sign | "blank" | "model" | "blank" | blank extrudes the BLANK mark. model keeps whatever sign the model has; the hosted model has none. |
| sunColor | ColorRepresentation | "#ff0000" | Colour of the hidden light box and so of the rays. Updates live. |
| sunPosition | [number, number, number] | [-0.1, -0.15, -0.45] | Light box position inside the rotated world group. Updates live. |
| godRays | Partial<BunkerSceneGodRays> | — | samples 100, density 0.9, decay 0.92, weight 0.4, exposure 0.4, clampMax 1, kernelSize MEDIUM, blur true. density, decay, weight, exposure and clampMax update live; samples, kernelSize and blur rebuild the scene. |
| noise | boolean | true | Colour-dodge film noise on or off. Updates live. |
| noiseOpacity | number | 0.75 | Film noise opacity, 0 to 1. Updates live. |
| fogColor | ColorRepresentation | "#000000" | Linear fog colour. Updates live. |
| fogNear | number | 8.8 | Fog start distance. Updates live. |
| fogFar | number | 9.6 | Fog end distance. Fog hides the far side of the facade. Updates live. |
| ambientLightIntensity | number | 0.8 | White ambient light, 0 to 1. Updates live. |
| particleCount | number | 1000 | Dust points in front of the facade. Changing it rebuilds the scene. |
| particleSize | number | 25 | Point size, 0 to 300. Updates live. |
| particleColor | ColorRepresentation | "#ffffff" | Dust colour. Updates live. |
| particleAlpha | number | 0.25 | Peak alpha of each additive point, 0 to 1. Updates live. |
| particleSpeed | number | 0.1 | Speed of the noise the dust drifts on, 0 to 1. Updates live. |
| particleDisplacement | number | 0.5 | How far the dust drifts in world units, 0 to 1. Updates live. |
| rotationStrength | number | 1 | Camera swing. 0 holds the camera still. Updates live. |
| ratio | number | 21 / 9 | Width over height of the canvas. |
| className | string | — | Class on the root. |
| style | CSSProperties | — | Additional styles for the root. |
threepostprocessinggsap