dreiDrei.docs

Shadow

A cheap canvas-texture-based circular gradient.

<Shadow
  color="black"
  colorStop={0}
  opacity={0.5}
  fog={false} // Reacts to fog (default=false)
/>

src/core/Shadow.tsx

Edit this page

ShadowAlpha
Sky
  • 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