Skip to content

Instantly share code, notes, and snippets.

@josippapez
Created January 31, 2025 14:52
Show Gist options
  • Select an option

  • Save josippapez/741857b5bceebd0217ce23213544b37e to your computer and use it in GitHub Desktop.

Select an option

Save josippapez/741857b5bceebd0217ce23213544b37e to your computer and use it in GitHub Desktop.
Blurred ice background 3d
const BLurredIceBackground = () => {
return (
<mesh scale={[10, 10, 1]} position={[0, 0, 1]}>
<planeGeometry args={[2, 2]} />
<MeshTransmissionMaterial
samples={1}
resolution={16}
anisotropicBlur={0.1}
thickness={0.1}
roughness={0.4}
toneMapped={true}
/>
</mesh>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment