ugh i hate recursive problems. figuring out how to render a water block is simple: just set the water level at the corners to the highest water level of its neighborsbut wait. now i need to know what the water levels for the neighbors corners are. well, solution is simple: just set the water level at the corners to the highest water level of its neighborsoh. oh no

you are viewing a single comment's thread
view the rest of the comments
[–] [S] 1 point 6 days ago (3 children)

hmmm. minecraft only stores a single water level in the block data so clearly it's not precomputing the corners for each water blockso there has to be a way to calculate this without recursing somehow right??

  • source
  • parent
  • hideshow 3 child comments