The RaymarchingClouds component uses raw GLSL raymarching to render hyper-realistic, volumetric clouds in real-time. It provides deep atmosphere scattering and beautiful sun flares.
Live Preview
Installation
npx kinetic-ui-cli@latest add Usage Guide
1. Import the Component
Import the component into your React or Next.js page:
import { RaymarchingClouds } from "@/components/creative/raymarching-clouds";
2. Implementation Example
Render the component and customize its behavior by passing props:
import { RaymarchingClouds } from "@/components/creative/raymarching-clouds";
export default function Example() {
return (
<div className="w-full flex items-center justify-center p-8">
<RaymarchingClouds
color1="example"
color2="example"
/>
</div>
);
}