OSS-Cosmic / AmnesiaTheDarkDescent

GNU General Public License v3.0
57 stars 4 forks source link

migrate engine to forward+ #74

Open pollend opened 1 year ago

pollend commented 1 year ago

Deferred rendering is very memory intensive, with a reworked deferred renderer I think its easier to build a forward+ render to replace the deferred renderer currently in the engine.

https://diaryofagraphicsprogrammer.blogspot.com/2018/03/

https://github.com/zeux/meshoptimizer https://www.youtube.com/watch?v=QVbOp1h-Jb4 https://themaister.net/blog/2020/01/10/clustered-shading-evolution-in-granite/ https://advances.realtimerendering.com/s2016/Siggraph2016_idTech6.pdf

pollend commented 1 year ago

Visibility Buffer: this seems like a good middle ground without ditching the entire deferred pipeline.

There is an early prototype Forward+ renderer in hpl2 I'm playing with.

pollend commented 11 months ago

after some careful review I think its more feasible to replace the current pipeline with a triangle visibility buffer. lets me keep a lot of the features of a deferred pipeline. more straightforward change to implement.

https://github.com/OSS-Cosmic/AmnesiaTheDarkDescent/pull/105