Back to shaders

Wave Terrain

Customize
#0a0a15
#8b5cf6
#0a0612
1.00
1.00
1.00
1.00
1.00
1.00
1.40
1.00

Raymarched terrain with triangular waves, fog, and camera movement.

terrainwavesperspectiveraymarching3dby ShaderDrop

Source Code

Quick Start

1

Download or copy the component file

2

Save to components/WaveTerrain.tsx

3

Import and use in your page

page.tsx
import { WaveTerrain } from "@/components/WaveTerrain"

export default function Page() {
  return (
    <div className="relative min-h-screen">
      <WaveTerrain className="absolute inset-0 -z-10" />
      {/* Your content here */}
    </div>
  )
}
WaveTerrain.tsx