mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-07-12 23:14:58 +00:00
fix terrain positioning, layer blending, lighting when sun points up, add xPack2
This commit is contained in:
parent
aeda3ca8d5
commit
7f75ed84da
2238 changed files with 159619 additions and 1107 deletions
|
|
@ -2,7 +2,7 @@
|
|||
import { useState, useEffect, useCallback, Suspense } from "react";
|
||||
import { useSearchParams, useRouter } from "next/navigation";
|
||||
import { Canvas, GLProps } from "@react-three/fiber";
|
||||
import { NoToneMapping, SRGBColorSpace } from "three";
|
||||
import { NoToneMapping, SRGBColorSpace, PCFShadowMap } from "three";
|
||||
import { Mission } from "@/src/components/Mission";
|
||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { ObserverControls } from "@/src/components/ObserverControls";
|
||||
|
|
@ -94,7 +94,7 @@ function MapInspector() {
|
|||
</div>
|
||||
</div>
|
||||
)}
|
||||
<Canvas frameloop="always" gl={glSettings} shadows="soft">
|
||||
<Canvas frameloop="always" gl={glSettings} shadows={{ type: PCFShadowMap }}>
|
||||
<CamerasProvider>
|
||||
<AudioProvider>
|
||||
<Mission
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue