inexorgame-obsolete / deprecated-cube-engine-inexor

UNMAINTAINED: Please have a look at the vulkan-renderer
https://inexor.org
zlib License
11 stars 1 forks source link

Different fog density computation modes #122

Open koraa opened 9 years ago

koraa commented 9 years ago

In tesseract a different fog model is used which does not simply cuts the fog at a specific area, but instead uses a model which is distance based (a radius around you). that looks a lot more realistic since hidden stuff does not become visible because you turn your head. and according to eihrul it is not even noticeably more expensive.

IAmNotHanni commented 9 years ago

I've read David Scherfgens book about game programming. There are 3 common ways how to implementfog: