Questions tagged [terrain]
Used to describe the physical geography of a location. This can include elevation, slope and orientation of features.
444
questions
0
votes
0
answers
19
views
Black terrain when baking lightmap in Unity URP
I'm trying to bake a lightmap of my level in Unity URP. I've fixed issues with other objects; only the terrain remains. It just remains black, no matter what I do. It is checked as static and to ...
0
votes
0
answers
35
views
Implementing pyramidal "half-voxels" to smooth terrain (not marching cubes)
I need pointers and advice about this idea. I know next to nothing about coding, but I like to design games and come from the art side. I'm designing a survival 3d game which so far doesn't feature ...
0
votes
0
answers
43
views
Height gradient generation from height map,using compute shader has weird artifacts
I am trying to generate the height gradient (the slope) for a heightmap of mine using a compute shader in Unity, and the result has weird ringing artifacts and I completely lost what could be wrong. I ...
0
votes
1
answer
73
views
Lifelike terrain generation
I am making a game, and I want to have life-like terrain generation. Some issues with procedural noise, and other algorithms like midpoint displacement is that some features of the land that they ...
0
votes
0
answers
109
views
Terrain Determination in Perlin Noise Texture in Godot 4.2.1
For my Grand Strategy game, I am looking to use maps generated by Godot's FastNoiseLite implementation of Perlin noise. While generating the texture for the map was ...
0
votes
2
answers
71
views
How should I implement a terrain raise/lower brush? [closed]
I am trying to make an terrain editor. The terrain is described by a grayscale height map.
When I click at somewhere in the terrain map with the brush, the terrain should raise or lower about that ...
0
votes
0
answers
42
views
How do I pick terrain in GLSL/OpenGL by picking 2D vertices positions?
Presumably the problem is with the internal formats and my understanding of that, but I've been stuck a while, got this sort of approaching working fine on a more straight forward colour picker, but ...
1
vote
0
answers
134
views
How to smooth 2D procedurally generated terrain and create a collider from a Tilemap in Unity
I am making a 2D procedurally generated game like Terraria, and I want my terrain to be smooth similar to how games like Hill Climb Racing look. I have a Tilemap that renders my tileSprites and a 2D ...
0
votes
0
answers
56
views
Determining meters per second in scaled terrain
I have a terrain with a width of 199 and height of 99 and I'm scaling this train by 500. What would be 1 meter in the new terrain, would it be 500? I'm trying to move my character in meters per second ...
2
votes
0
answers
160
views
How to paint terrain details (e.g. grass billboards) programmatically?
In Unity, is it possible to paint terrain details such as billboarded grass textures programmatically? (The kind that appear vertical and wave according to wind settings.)
What I know so far (or think ...
0
votes
1
answer
272
views
Gaps between terrain chunks generated with marching cubes
My generated terrain chunks have gaps between them:
I'm using Compute Shader and Simplex Noise from FastNoiseLite library to generate noise:
...
0
votes
0
answers
115
views
How to remove plastic-like reflection from visual shader?
The problem is that this is a piece of terrain, it should not have blue reflections like it's made of plastic. But when the camera gets close enough, these specular highlights are rendered.
This is ...
1
vote
0
answers
300
views
Tilemap vs terrain vs optimized mesh for top-down game
I'm experimenting with a top down vertical scroller in Unity, with a perspective camera, NOT orthogonal.
(It's unclear how 'pixelated'/pixel art I will want the graphics but that's another question)
...
2
votes
1
answer
117
views
Algorithms for large scale deformable terrain with multiple heights, i.e. not heightmap based
Every search I do results in heightmap based terrain, where you can't have a tunnel, or cave, etc within the terrain.
What good algorithms are there to do this kind of deformable terrain?
I'm aware of ...
1
vote
0
answers
43
views
Terrain Trees weird behaviour after lightmapping
I've been working on this game for quite awhile now and have had this problem ever since I switched from real-time lighting to lightmaps. For some reason the trees that are at X distance from me ...