mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: more visible grid
This commit is contained in:
1 parent
eac15cc15d
commit
76625dc7b2
1 file changed
+1
-1
@@ -14,7 +14,7 @@ export function SceneProps() {
|
|||||||
|
|
||||||
useFrame(({ camera }) => {
|
useFrame(({ camera }) => {
|
||||||
if (!material.current) return;
|
if (!material.current) return;
|
||||||
material.current.opacity = clamp(0.1 * camera.position.y, 0, 1);
|
material.current.opacity = clamp(0.5 * camera.position.y, 0, 1);
|
||||||
});
|
});
|
||||||
|
|
||||||
texture.anisotropy = 2;
|
texture.anisotropy = 2;
|
||||||
|
|||||||
Reference in new issue
Block a user