Skip to main content

Questions tagged [heightmap]

A raster image which can depict a 3D environment through mapping out the height at every point. Can be thought of as a mechanically consumeable form of topographical map.

0 votes
1 answer
126 views

I'm presently trying to do a sorta Starfox clone with Raylib, using the heightmap example here: https://www.raylib.com/examples/models/loader.html?name=models_heightmap In order to handle collision in ...
Reverend Speed's user avatar
0 votes
1 answer
105 views

I would like to make a water texture glide on the terrain (heightmap), in the direction of the slope of the terrain, to make a flowing water effect. In the fragment shader used to draw the terrain, I ...
HenriV's user avatar
  • 67
0 votes
0 answers
273 views

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 ...
Keksoskajoska's user avatar
3 votes
1 answer
324 views

I'm generating a heightmap in a compute shader in OpenGL v4.6 and storing it to a texture. Lets say I actually store the full vertex data in that texture instead of just the height, which is a trivial ...
Iron Attorney's user avatar
0 votes
2 answers
164 views

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 ...
martinrhan's user avatar
1 vote
1 answer
185 views

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 ...
Giuseppe's user avatar
0 votes
0 answers
341 views

So, I have been on a bit of a journey wrapping a texture around a sphere. So, if you are reading this looking for spherical texture wrapping solutions, I would suggest checking out my last post as ...
Harper Rhett's user avatar
0 votes
0 answers
464 views

I've recently been experimenting with Python and PIL to generate heightmap images using simplex noise. The generated heightmaps are simply 2D numPy arrays with height values ranging from 0-1. I ...
Sad Strawberry's user avatar
0 votes
1 answer
270 views

I need help coming up with dynamic uv values (general formula) so that my texture looks continuous through all levels of my quadtree. level 0-1 works perfectly, level 1 subdivision looks great. but ...
Miguel Myers's user avatar
0 votes
1 answer
564 views

I am generating terrain around a route. The route already exists. I am using the Perlin Noise function implemented in Unity to generate terrain tiles that merge seamlessly. I generate the terrain ...
IMGSaibh's user avatar
0 votes
1 answer
581 views

I have a terrain which is a mesh. Given the x and z coordinates in which a character is placed, I would like a function that ...
Luca Venturini's user avatar
0 votes
1 answer
2k views

I have a heightmap that scales from 0 to 255. the map is only for elevation (discluding water and ice) what would be the appropriate way to calculate the scale of one meter? heightmap below
Ahmed Rahmi's user avatar
1 vote
1 answer
1k views

I have a 2D heightmap with discrete values. Based on these values they should cast a fixed position shadow (constant angle respective to the "sun"). I can figure out how to cast it on a flat ...
KayleMaster's user avatar
0 votes
0 answers
252 views

I have a game project where the player will explore the moon's surface. For the terrain I thought I could use this particular image height-map, but it is so massive that my computer can not handle it. ...
Ishtiak Ahmed Evan's user avatar
1 vote
1 answer
450 views

GameDev StackExchange! I've written height map collision detection into my game, but I've been struggling on how to get the resolution step to work well with player movement. (This is in 3D, by the ...
Fluffy the Togekiss's user avatar

15 30 50 per page
1
2 3 4 5
10