Questions tagged [unity3d-terrain]
56 questions
6
votes
6 answers
Unity, get the "actual" current Terrain?
Unity has a function Terrain.sampleHeight(point) which is great, it instantly gives you the height of the Terrain underfoot rather than having to cast.
However, any non-trivial project has more than one Terrain. (Indeed any physically large scene…

Fattie
- 27,874
- 70
- 431
- 719
3
votes
0 answers
How to add Google Maps images ‘terrain’ to Maps SDK for Unity?
I’ve been following the processes for the Google Maps SDK for Unity from this ‘Terrain Elevation’ page.
https://developers.google.com/maps/documentation/gaming/elevation
I can get to show the buildings, roads and grass (1st Image). But how do I add…

Gamify
- 31
- 2
3
votes
1 answer
Unity Terrain GameObject versus Custom Terrain
I was recently exploring and working through parts of Sebastian Lague's Procedural Landmass Generation series. Absolutely excellent series and I would recommend it to anyone looking to learn more about Unity and Terrain in general.
Anyways, I ran…

Jee
- 969
- 1
- 7
- 26
2
votes
1 answer
AppendStructuredBuffer count not matching the appends I make (Unity3D, HLSL)
I am using a compute shader to populate a Unity Terrain with trees. However, I am facing issues with the AppendStructuredBuffer. What I want to do, is let a probability check determine if a tree should be spawned or not. If not, then I return,…

Danahi
- 98
- 1
- 11
2
votes
0 answers
Navmesh Agent limited movement to 1 tile
I have a navmesh agent with a set detination to a target, and a Navmesh surface generated using the NavmeshSurface script component. A few weeks ago I had problems with the agent set destination. Now I realised that my agent will only move to it's…

Fanre5
- 31
- 2
2
votes
1 answer
Unity HDRP shadows on terrain are too dark
Other shadows are good, but shadows on terrain too dark

MrYabloko
- 31
- 2
2
votes
1 answer
Unity: Create a texture from Terrain
I have a procedural generated Terrain, based on Unity's Terrain System.
Now i want a Map from the Terrain, not a minimap but a full map, that is saved as a 2D Texture.
First i thought of a RenderTexture, but if i take a Camera to catch the whole…

AlpakaJoe
- 533
- 5
- 24
2
votes
0 answers
how to create unity custsom terrain shader with shader graph
in unity2019.1, I use lwrp with shader graph, where I use unity terrain, and I want to use a custom shader created by shader graph, but the editor warning "can't use materials with shaders which need tangent gemotery on terrain." But I don't use…

liang wang
- 21
- 2
2
votes
1 answer
How to make a terrain that acts like the globe?
I want to make a terrain where the ending point is also the starting point. So, like on the earth you could just go on walking straight and you would reach the point where you started again after some time.
Thanks for your help!

Patrick
- 552
- 5
- 17
2
votes
2 answers
What is the "correct" way of combining Voronoi Diagrams with Perlin Noise for Texture Generation?
I am working on a project revovling around procedural terrain generation. I currenly have 2 seperate parts, one which generates my Voronoi Diagram, while the other deals with the generation of the whole terrain. The terrain is currently generated in…

vgro
- 458
- 4
- 12
1
vote
1 answer
Terrain long distance object draw blue tint / fog Unity
I have a basic 1000x1000 Terrain inside a very basic scene (almost empty) but the rendering for long distance is providing like a blue tint or like some fog :
The Terrain settings :
I tried increase all LODs or distances I found, even on the…

nicover
- 2,213
- 10
- 24
1
vote
1 answer
Unity Terrain Glossy with White Patches
I am new to Unity and I am having difficulties applying the terrain tools. How can I fix glossy terrain with white spots within 2021.3.5f1 Unity? I'm unsure why this is happening to all of my terrain layers.
The textures are from the Unity Terrain…

Lynn
- 55
- 1
- 6
1
vote
1 answer
Unity World Not Showing on GitHub
I am new to development on Unity. My teammate and I are collaborating on a 3D project and we are using GitHub. He mentioned to me that he is unable to view my world creation from his side when he pulled.
Could someone please assist? Thank you.
Here…

Lynn
- 55
- 1
- 6
1
vote
1 answer
Mapping PerlinNoise to a Grid
I am trying to generate a grid across my map and add nodes depending on the perlin noise value. Depending on the value obtained from the perlin noise at a location, I will add a new Node which will be of a certain type e.g. Mountain, Water etc to…

Krellex
- 613
- 2
- 7
- 20
1
vote
4 answers
How to remove the brush is read only in unity?
I’m pretty new at Unity, I’ve been trying to add a terrain and add texture but it says “the brush is read only” and I can’t do it. Does anyone know how to deactivate that?

Lavinia Ioana
- 39
- 1
- 5