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
|
@ -68,7 +68,7 @@ void GUIScene::setTexture(u32 idx, video::ITexture *texture)
|
|||
material.TextureLayers[0].Texture = texture;
|
||||
material.Lighting = false;
|
||||
material.FogEnable = true;
|
||||
material.TextureLayers[0].MinFilter = video::ETMINF_NEAREST;
|
||||
material.TextureLayers[0].MinFilter = video::ETMINF_NEAREST_MIPMAP_NEAREST;
|
||||
material.TextureLayers[0].MagFilter = video::ETMAGF_NEAREST;
|
||||
material.BackfaceCulling = false;
|
||||
material.ZWriteEnable = video::EZW_AUTO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue