Anecoz / AneRend

Prototyping Vulkan engine
16 stars 1 forks source link

Terrain #55

Closed Anecoz closed 9 months ago

Anecoz commented 10 months ago
Anecoz commented 10 months ago

After the overall move to a more component based design this is the current rough idea:

Treating terrain essentially as a Renderable, the renderer is (almost) agnostic to the fact that it is a terrain, except for the special flag. This results in things like acceleration structures being created automatically and just general conformity to the way the renderer works.

The drawback is that we cannot instance the terrain draw calls, but it should not really be much of an issue.

Anecoz commented 9 months ago

Closing now as a solid foundation for terrain is in place. Will create more issues when the need arises.