3 ms·
I would rather recommend this video [1] from SimonDev. It is much more enjoyable to watch. But all of these explain the exact same approach of rendering instanc
by jmiskovic 1y ago
I would rather recommend this video [1] from SimonDev. It is much more enjoyable to watch. But all of these explain the exact same approach of rendering instanced geometry, with wind dynamics made in vertex shader.
I used this as reference to implement an infinite grass world in ~300 LoC of Lua and GLSL.
[1] https://www.youtube.com/watch?v=bp7REZBV4P4 https://www.youtube.com/watch?v=bp7REZBV4P4
[2] https://github.com/jmiskovic/grassland/blob/main/grass.lua https://github.com/jmiskovic/grassland/blob/main/grass.lua