mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-20 03:35:18 +02:00
Antialiasing x8
This commit is contained in:
@@ -471,7 +471,9 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
|
|||||||
//AA + Trilinear
|
//AA + Trilinear
|
||||||
buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
|
buf->getMaterial().setFlag(video::EMF_BILINEAR_FILTER, false);
|
||||||
buf->getMaterial().setFlag(video::EMF_TRILINEAR_FILTER, true);
|
buf->getMaterial().setFlag(video::EMF_TRILINEAR_FILTER, true);
|
||||||
|
buf->getMaterial().setFlag(video::EMF_ANTI_ALIASING, true);
|
||||||
buf->getMaterial().setFlag(video::EMF_ANISOTROPIC_FILTER, true);
|
buf->getMaterial().setFlag(video::EMF_ANISOTROPIC_FILTER, true);
|
||||||
|
buf->getMaterial().AntiAliasing = video::EAAM_POINT_SMOOTH;
|
||||||
|
|
||||||
const video::SMaterial& material = buf->getMaterial();
|
const video::SMaterial& material = buf->getMaterial();
|
||||||
video::IMaterialRenderer* rnd =
|
video::IMaterialRenderer* rnd =
|
||||||
|
Reference in New Issue
Block a user