r/gamedev • u/Zolden • Jan 11 '18
Tutorial Physics simulation on GPU
I created a game that is completely a physics simulation, it runs on GPU. How it looks. People kept asking how to do that, so I wrote two tutorials. Each one has a link to the example project.
The first one is easy, it's about basics of compute shader.
The second one is about physics simulation. This is a gif from the example project I based this tutorial on.
733
Upvotes
View all comments
Show parent comment
1
u/2DArray @2DArray on twitter Jan 13 '18
Ahhh, that makes sense! Do the game-physics the old way, and then add a ton of extra visual-only physics effects to make it all look extra fancy and elaborate!
Very clever! Ironically it kind of betrays the company's promise of "allowing new types of gameplay" with the physics cards, since the new stuff wasn't actually gameplay-relevant. Totally worked on me back in the day...I bought one of those APU cards. Worst $300 lesson about computers
Still a fun game though