r/GraphicsProgramming • u/Explorioneer • Aug 28 '26
Question What is this sand simulation missing?
Enable HLS to view with audio, or disable this notification
79
Upvotes
r/GraphicsProgramming • u/Explorioneer • Aug 28 '26
Enable HLS to view with audio, or disable this notification
View all comments
Show parent comment
2
u/GravityCY Aug 28 '26
When you say a shader modifies the height map based on object position do you get the displacement shape by somehow converting the objects shape to the height maps uvs on the cpu by like getting intersecting vertices or do you mean like a compute shader that somehow does that on the GPU? Or maybe you just apply a static displacement shape just from a generic world position
I'm sorry if it's a stupid question I don't really know much about shaders they're magic to me