dreiDrei.docs

Stars

Adds a blinking shader-based starfield to your scene.

<Stars radius={100} depth={50} count={5000} factor={4} saturation={0} fade speed={1} />

src/core/Stars.tsx

Edit this page

Stage
useEnvironment
  • getting started
  • abstractions
  • cameras
  • controls
  • gizmos
  • loaders
  • misc
  • modifiers
  • performances
  • portals
  • shaders
  • shapes
  • staging
    • AccumulativeShadows
    • Backdrop
    • BBAnchor
    • Bounds
    • CameraShake
    • Caustics
    • Center
    • Cloud
    • ContactShadows
    • Environment
    • Float
    • Lightformer
    • MatcapTexture / useMatcapTexture
    • NormalTexture / useNormalTexture
    • RandomizedLight
    • Resize
    • ShadowAlpha
    • Shadow
    • Sky
    • Sparkles
    • SpotLightShadow
    • SpotLight
    • Stage
    • Stars
    • useEnvironment

On This Page