mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-06 16:24:29 +01:00
feat: custom shaders
This commit is contained in:
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} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user