🚀 Auto-deploy: melhoria no snap e medição AR em 30/05/2026 11:11:42

This commit is contained in:
2026-05-30 11:11:42 +00:00
parent 966418659d
commit 451951b4ca
3 changed files with 5 additions and 6 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

+5 -6
View File
@@ -1431,14 +1431,13 @@ function WalkEnvironment() {
return (
<group>
{/* Realistic blue sky with some clouds/haze */}
<Sky sunPosition={[100, 20, 100]} turbidity={0.1} rayleigh={0.5} mieCoefficient={0.005} mieDirectionalG={0.8} />
{/* Background HDRI provides distant trees, mountains, houses on the horizon */}
<Environment preset="park" background />
{/* Infinite walkable grass floor */}
{/* Cena com a imagem fornecida pelo usuário mapeada no horizonte em 360 graus */}
<Environment files="/cenario_campo_gramado.jpg" background />
{/* Piso invisível apenas para receber as sombras dos modelos sobre a grama da foto */}
<mesh rotation={[-Math.PI / 2, 0, 0]} position={[0, gridY - 0.01, 0]} receiveShadow>
<planeGeometry args={[1000, 1000]} />
<meshStandardMaterial color="#4ade80" roughness={0.9} metalness={0.1} />
<shadowMaterial opacity={0.5} />
</mesh>
</group>
);