feat: custom shaders

This commit is contained in:
TrèsAbhi committed 2024-01-09 22:31:34 -06:00
1 parent a7d8f08522
commit 4a6b5e3aa9
9 files changed
+176 -46

No files matched your search

@@ -0,0 +1,19 @@
export function Lighting() {
return (
<>
<directionalLight
position={[1, 1, -1]}
intensity={2}
castShadow
color={'rgb(225, 225, 255)'}
/>
<directionalLight
position={[-1, 1, 1]}
intensity={1}
castShadow
color={'rgb(225, 225, 255)'}
/>
<ambientLight intensity={0.25} />
</>
);
}