🚀 Auto-deploy: melhoria no snap e medição AR em 30/05/2026 11:11:42
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user