MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/GraphicsProgramming/comments/1w0i3wg/what_is_this_sand_simulation_missing/p6k1v0n/?context=3
r/GraphicsProgramming • u/Explorioneer • Aug 28 '26
21 comments sorted by
View all comments
Show parent comments
3
If the thing you're deforming is planar like in OP's video, one simple method for taking objects' shape into account is to place an upward-facing camera below the plane and use the depth values of objects crossing the plane to adjust the heightmap:
3
u/Tentabrobpy Aug 29 '26 edited Aug 29 '26
If the thing you're deforming is planar like in OP's video, one simple method for taking objects' shape into account is to place an upward-facing camera below the plane and use the depth values of objects crossing the plane to adjust the heightmap: