mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add antialiasing filters (FXAA, SSAA) (#13253)
This commit is contained in:
parent
442d5fc75c
commit
c09a3a52ac
10 changed files with 230 additions and 17 deletions
|
@ -122,7 +122,8 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver)
|
|||
|
||||
// bpp, fsaa, vsync
|
||||
bool vsync = g_settings->getBool("vsync");
|
||||
u16 fsaa = g_settings->getU16("fsaa");
|
||||
bool enable_fsaa = g_settings->get("antialiasing") == "fsaa";
|
||||
u16 fsaa = enable_fsaa ? g_settings->getU16("fsaa") : 0;
|
||||
|
||||
// Determine driver
|
||||
auto driverType = chooseVideoDriver();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue