Questions tagged [terrain-rendering]
Terrain rendering is the visual representation of 2D or 3D landscapes.
165
questions
0
votes
0
answers
25
views
What are the consequences of using AfterRenderingTransparent for grass?
I followed a tutorial for unity URP stencil to hide objects, I want to use it to hide terrain grass under objects like vehicles, houses, etc..
The tutorial says to create 2 layers, and create render ...
1
vote
0
answers
93
views
Terrain detail grass not receiving shadow
The grass painted onto my terrain is in the shadow area of the house wall, but they're not receiving shadows. Why does this happen?
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
1
answer
46
views
How to create terrain with multiple textures
I have a giant terrain. I have grass/stone/mud/and so on...
As for the test I am using raw color assigned to each vertex to render triangles of terrain. When I have a terrain like that I set upper 4 ...
1
vote
1
answer
138
views
How to fix diamond artefacts in diamond square algorithm?
I'm trying to implement the Diamond Square Algorithm. In order to do this I'm following this tutorial: Diamond Square | Procedural Generation | Game Development Tutorial
I store the height values into ...
0
votes
1
answer
248
views
Rendering Infinite 2D chunks?
I'm working on a top-down 2D RTS with C++ and SDL2, and have implemented the biome/terrain generation, tile rendering and a rudimentary camera system. I already have the skeleton code in place that ...
1
vote
1
answer
371
views
What kind/type was the 3D terrain editor of Warcraft 3's World Editor? How it worked? [closed]
Warcraft III (WC3) had a lovely map editor that allowed for a whole lot of stuff, yes (this was the best result I could squeeze out of Google), but what to me stood out the most and what I played with ...
1
vote
1
answer
135
views
glPatchParameteri(GL_PATCH_VERTICES, 4) causes access violation
I'm trying to create a tessellated terrain, for this purposes I'm following the LearnOpenGL tutorial: https://learnopengl.com/Guest-Articles/2021/Tessellation/Tessellation
However, when I set the ...
0
votes
0
answers
534
views
How I can compute normals in a tesellated terrain?
I'm trying to generate a terrain using tessellation. I tesselate patches, so the amount of data passed to the GPU is 4 * numberOfPatch * numberOfPatch.
My problem ...
0
votes
0
answers
478
views
How to render and interact with a seamless wraparound world map, in the style of e.g. Civ 5, in Godot 3?
I asked a similar question on the Godot subreddit but I want to ask here as well in hope of getting more detailed/different answers.
I'm making a world map for a turn-based tile-based 3D strategy game ...
0
votes
1
answer
101
views
0
votes
0
answers
650
views
Unity terrain details have transparency in editor, but are on black in builds
I'm dealing with a concerning bug in my Unity build.
I have a terrain system which populates its detail layer with procedural grass textures. The textures are on transparency in the editor, as they ...
1
vote
1
answer
59
views
Having a Logic Error in my tile rendering code
I am a novice programmer.
In my program, I can render a 5000 x 500 map, but it renders incorrectly, instead of this :
,,~,,,,~,,,,,~,~,,,,,~~,,,~,,,~,,,~,,~~~,~~~,,,~,,,,~,~,,,~~,~,,~,~,~~,~,,,,,~,,~~,...
2
votes
1
answer
203
views
How to get rid of intersections between terrain and road strip drawn on top?
When I draw a road as is (stencil:off, depth:on,less), the results are like this - ;
Then I tried adding stencil a test for the road:
...
1
vote
0
answers
218
views
Determine terrain color based on slope and height with many types of terrain
I've got a specific problem. Take this as a challenge, if you will.
I have a 3D mesh representing a cliffy terrain. It's constructed from a simple height map.
The goal is to determine what type of ...