Skip to main content
Share Your Experience: Take the 2024 Developer Survey
2 votes

Fuse detailed road mesh with regular grid terrain mesh

I think the best way to tackle this problem would be to make an algorithm that works on a single triangle at a time. You'd look at each terrain triangle individually that the road intersected and ...
Alan Wolfe's user avatar
  • 7,801
2 votes

Projected grid water horizon detail

The technic what Benedikt mentioned is explained in Section 2.4.1 of this thesis. http://fileadmin.cs.lth.se/graphics/theses/projects/projgrid/projgrid-lq.pdf Implementing this should solve your ...
TheXappy's user avatar
1 vote

Light Falloff through a grid

It looks to me like you're resetting the distance calculation at each grid intersection? So every time you march another grid cell you're dividing the light intensity by $gridsize^2$ ? That would ...
russ's user avatar
  • 2,392
1 vote

In a shader, how to store fragment coordinates in a spatial partitioning from one pass to the next?

Though I have never used them myself OpenGL in modern versions gives you something called "Shader Storage Buffer Object" These are buffers that you can fill with your data. They are guaranteed to be ...
Dragonseel's user avatar
  • 1,810

Only top scored, non community-wiki answers of a minimum length are eligible