mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Expose all OpenGL filtering modes, use OpenGL names for them
Because of a review comment on the Irrlicht PR by numberZero.
This commit is contained in:
parent
6bf63d4b41
commit
7473e4cafd
12 changed files with 18 additions and 18 deletions
|
@ -53,7 +53,7 @@ Clouds::Clouds(scene::ISceneManager* mgr,
|
|||
m_material.AntiAliasing = video::EAAM_SIMPLE;
|
||||
m_material.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;
|
||||
m_material.forEachTexture([] (video::SMaterialLayer &tex) {
|
||||
tex.MinFilter = video::ETMINF_NEAREST;
|
||||
tex.MinFilter = video::ETMINF_NEAREST_MIPMAP_NEAREST;
|
||||
tex.MagFilter = video::ETMAGF_NEAREST;
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue