Skip to content

Components

All Strata React Three Fiber components with their props.

Procedural terrain with automatic chunking and LOD.

<Terrain
biomes={['grassland', 'mountain']}
amplitude={80}
frequency={0.01}
resolution={64}
size={500}
/>
PropTypeDefaultDescription
biomesstring[]['default']Biome types
amplitudenumber50Max terrain height
frequencynumber0.02Noise frequency
octavesnumber6Noise octaves
resolutionnumber64Mesh resolution
sizenumber256Terrain size
chunkSizenumber32Chunk size
position[number, number, number][0,0,0]Position

Simple animated water plane.

<Water size={200} depth={20} color="#0077be" />
PropTypeDefaultDescription
sizenumber100Water plane size
depthnumber10Visual depth
colorstring'#0077be'Water color
opacitynumber0.8Transparency
waveSpeednumber1Animation speed
waveHeightnumber0.5Wave amplitude

Full-featured water with all effects.

<AdvancedWater size={300} reflections caustics foam />
PropTypeDefaultDescription
sizenumber100Water size
waveHeightnumber1Wave height
reflectionsbooleanfalseEnable reflections
causticsbooleanfalseEnable caustics
foambooleanfalseEnable foam
foamThresholdnumber0.7Foam wave height

GPU-instanced grass with wind.

<GrassInstances count={10000} spread={100} windSpeed={1} />
PropTypeDefaultDescription
countnumber1000Instance count
spreadnumber50Distribution radius
colorstring'#4a7c23'Base color
heightnumber0.5Blade height
windSpeednumber1Wind speed
windStrengthnumber0.3Wind bend

GPU-instanced trees with variety.

<TreeInstances count={500} spread={200} />
PropTypeDefaultDescription
countnumber100Instance count
spreadnumber100Distribution radius
minHeightnumber3Min tree height
maxHeightnumber8Max tree height
typesstring[]['default']Tree types

GPU-instanced rocks and boulders.

<RockInstances count={200} spread={150} moss />
PropTypeDefaultDescription
countnumber100Instance count
spreadnumber100Distribution radius
minScalenumber0.5Min rock scale
maxScalenumber3Max rock scale
mossbooleanfalseEnable moss

Procedural sky with atmospheric scattering.

<ProceduralSky sunPosition={[100, 50, 100]} stars moon />
PropTypeDefaultDescription
sunPosition[number, number, number][0,1,0]Sun position
timeOfDayTimeOfDay-Time-based position
turbiditynumber10Atmospheric haze
rayleighnumber2Blue scattering
starsbooleanfalseShow stars
moonbooleanfalseShow moon
moonPhasenumber0.5Moon phase (0-1)

Height-based volumetric fog.

<VolumetricFogMesh density={0.02} color="#8899aa" />
PropTypeDefaultDescription
densitynumber0.02Fog density
colorstring'#ffffff'Fog color
baseHeightnumber0Fog floor
maxHeightnumber100Fog ceiling
animatedbooleanfalseAnimate noise

Underwater effect overlay.

<UnderwaterOverlay fogColor="#003366" caustics />
PropTypeDefaultDescription
fogColorstring'#003366'Fog color
fogDensitynumber0.03Fog density
causticsbooleanfalseEnable caustics
particlesbooleanfalseEnable particles

Volumetric light shafts.

<GodRays lightPosition={[50, 80, 50]} intensity={0.5} />
PropTypeDefaultDescription
lightPosition[number, number, number]RequiredLight source
intensitynumber0.5Ray intensity
decaynumber0.95Distance falloff
samplesnumber60Quality samples