🚀 Auto-deploy: melhoria no snap e medição AR em 30/05/2026 11:11:42
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 193 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 193 KiB |
@@ -1431,14 +1431,13 @@ function WalkEnvironment() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<group>
|
<group>
|
||||||
{/* Realistic blue sky with some clouds/haze */}
|
{/* Cena com a imagem fornecida pelo usuário mapeada no horizonte em 360 graus */}
|
||||||
<Sky sunPosition={[100, 20, 100]} turbidity={0.1} rayleigh={0.5} mieCoefficient={0.005} mieDirectionalG={0.8} />
|
<Environment files="/cenario_campo_gramado.jpg" background />
|
||||||
{/* Background HDRI provides distant trees, mountains, houses on the horizon */}
|
|
||||||
<Environment preset="park" background />
|
{/* Piso invisível apenas para receber as sombras dos modelos sobre a grama da foto */}
|
||||||
{/* Infinite walkable grass floor */}
|
|
||||||
<mesh rotation={[-Math.PI / 2, 0, 0]} position={[0, gridY - 0.01, 0]} receiveShadow>
|
<mesh rotation={[-Math.PI / 2, 0, 0]} position={[0, gridY - 0.01, 0]} receiveShadow>
|
||||||
<planeGeometry args={[1000, 1000]} />
|
<planeGeometry args={[1000, 1000]} />
|
||||||
<meshStandardMaterial color="#4ade80" roughness={0.9} metalness={0.1} />
|
<shadowMaterial opacity={0.5} />
|
||||||
</mesh>
|
</mesh>
|
||||||
</group>
|
</group>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user