Ben Beazley
  • Member for 5 years, 7 months
  • Last seen more than 1 year ago
Diamond-Square algorithm output is random and noisy
1 votes

I think usually you would include the height of the middle point in the square step (and do the diamond step first. which) would slightly affect how spiky it looks making it a more gradual slope. Did ...

View answer
making special blocks in a voxel game OpenGL
Accepted answer
0 votes

A solution to rendering transparent objects without resorting by distance all of the time would be to use order independent transparency. Disable depth writing and change the blend mode to add the ...

View answer
Only first vertex of data used in shader OpenGL
Accepted answer
0 votes

Here was the problem. I stored all of the textures on a texture atlas and referred to them by including an integer in the instance data. The problem was that I used glVertexAttribPointer with the ...

View answer
texture cordinate VBO not being updated OpenGL
Accepted answer
0 votes

I feel stupid, after hours of trying to solve this problem I looked in the vertex shader for the umpteenth time and noticed that I was setting the output texture coordinate to itself. Now it works.

View answer