dreiDrei.docs

ScreenQuad

<ScreenQuad>
  <myMaterial />
</ScreenQuad>

A triangle that fills the screen, ideal for full-screen fragment shader work (raymarching, postprocessing). šŸ‘‰ Why a triangle? šŸ‘‰ Use as a post processing mesh

src/core/ScreenQuad.tsx

Edit this page

RoundedBox
AccumulativeShadows
  • getting started
  • abstractions
  • cameras
  • controls
  • gizmos
  • loaders
  • misc
  • modifiers
  • performances
  • portals
  • shaders
  • shapes
    • CatmullRomLine
    • CubicBezierLine
    • Facemesh
    • Line
    • Mesh
    • QuadraticBezierLine
    • RoundedBox
    • ScreenQuad
  • staging

On This Page