PanosK92 / SpartanEngine

A game engine with an emphasis on real-time cutting-edge solutions
https://panoskarabelas.com
MIT License
2.24k stars 189 forks source link

Expand/Improve upon our general-purpose vertex processing #122

Open PanosK92 opened 1 year ago

PanosK92 commented 1 year ago

In the forest world, the vegetation animates to emulate wind, you can step on it and bend it, you can even go into the water and create ripples, all of this is done via this: https://github.com/PanosK92/SpartanEngine/blob/master/data/shaders/common_vertex_processing.hlsl

This can always be expanded and/or improved, you can get inspiration from what Naughty Dog is doing: https://youtu.be/LjCjXFmkX-4?t=43

General-purpose vertex processing is often overlooked but it can help elevate a world.