Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
terrain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WANDER
terrain
Commits
833ce2ff
Commit
833ce2ff
authored
1 year ago
by
Knuiman, Bart
Browse files
Options
Downloads
Patches
Plain Diff
Back propagated good settings to source file.
parent
e2a3dc30
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Runtime/Prefabs/TerrainGenerator_11.prefab
+12
-11
12 additions, 11 deletions
Runtime/Prefabs/TerrainGenerator_11.prefab
Runtime/Scripts/TerrainBuilder.cs
+6
-6
6 additions, 6 deletions
Runtime/Scripts/TerrainBuilder.cs
with
18 additions
and
17 deletions
Runtime/Prefabs/TerrainGenerator_11.prefab
+
12
−
11
View file @
833ce2ff
...
...
@@ -45,28 +45,29 @@ MonoBehaviour:
m_Name
:
m_EditorClassIdentifier
:
water
:
{
fileID
:
0
}
originRDX
:
1
90533.17003088095
originRDY
:
44
4502.9116825408
originRDX
:
1
72973.00237301463
originRDY
:
44
0877.15026181383
tileSize
:
860.16
offsetX
:
-
266.6100308809546
offsetY
:
-
426.431682540
80
2
3
boundsSize
:
258
0.
4
8
offsetX
:
-
769.8023730146233
offsetY
:
-
241.310261813
80
7
3
boundsSize
:
430
0.8
vtileResolution
:
1024
numVtilesPerTile
:
16
numVtilesPerWide
:
4
totalNumVTiles
:
16
totalNumVTiles
:
0
vTileZoom
:
12
renderType
:
0
runOnStart
:
0
prefix
:
Terrain
pixelError
:
2
areaName
:
Arnhem
originWGS84
:
{
x
:
51.9
8778
,
y
:
5.
904498
}
numRings
:
1
areaName
:
Wageningen_Haven
originWGS84
:
{
x
:
51.9
5604
,
y
:
5.
6486692
}
numRings
:
2
zoom
:
10
controlResolution
:
4096
heightMapResolution
:
1024
loadHeight
:
1
filterHeight
:
1
terrainHeight
:
200
autoRefreshMaterials
:
0
groundLayer
:
...
...
@@ -78,8 +79,8 @@ MonoBehaviour:
buildSpecific
:
{
x
:
-1
,
y
:
-1
}
applyWaterElevation
:
1
waterLayerIdx
:
0
numRingsToSearch
:
5
deltaDepthWaterPixel
:
0.0
2
5
numRingsToSearch
:
1
5
deltaDepthWaterPixel
:
0.0
04
5
WaterType
:
2
waterTileSize
:
3
waterHeightOffset
:
0
...
...
This diff is collapsed.
Click to expand it.
Runtime/Scripts/TerrainBuilder.cs
+
6
−
6
View file @
833ce2ff
...
...
@@ -82,20 +82,20 @@ namespace Wander
[
Header
(
"Tile Generation"
)]
public
bool
isGenerating
=
false
;
public
bool
overwriteExistingTiles
=
false
;
public
bool
showTilesInEditor
=
fals
e
;
public
bool
showTilesInEditor
=
tru
e
;
public
Vector2Int
buildSpecific
=
new
Vector2Int
(-
1
,-
1
);
[
Header
(
"Water Elevation"
)]
public
bool
applyWaterElevation
=
true
;
public
byte
waterLayerIdx
=
0
;
public
int
numRingsToSearch
=
5
;
public
float
deltaDepthWaterPixel
=
0.0
1
5f
;
public
int
numRingsToSearch
=
1
5
;
public
float
deltaDepthWaterPixel
=
0.0
04
5f
;
[
Header
(
"Water"
)]
public
WaterType
WaterType
=
WaterType
.
Islands
;
public
float
waterTileSize
=
3
;
public
float
waterHeightOffset
=
0
.25f
;
public
float
waterIslandCapScale
=
2.0
f
;
public
float
waterHeightOffset
=
0
;
public
float
waterIslandCapScale
=
3.25
f
;
public
bool
waterCombineMeshes
=
true
;
[
Header
(
"Foliage"
)]
...
...
@@ -105,7 +105,7 @@ namespace Wander
public
float
foliageLODSize
=
10
;
[
Header
(
"Downloads"
)]
public
int
maxDownloads
=
32
;
public
int
maxDownloads
=
16
;
[
Header
(
"Shading"
)]
public
Material
terrainMat4
=
null
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment