Skip to content

Commit

Permalink
Update Ground.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
isoteriksoftware committed Nov 15, 2023
1 parent 0df3119 commit c057b57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Ground/Ground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ const Ground = React.forwardRef<Mesh, GroundProps>(
return (
<mesh ref={ref} rotation={[-Math.PI / 2, 0, 0]} position={[0, 0, 0]} {...rest}>
<planeGeometry args={[width, height]} />
{disableReflector && (
<meshStandardMaterial color={color} metalness={metalness} roughness={roughness} />
)}

{!disableReflector && (
<MeshReflectorMaterial
Expand Down

0 comments on commit c057b57

Please sign in to comment.