1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-26 21:35:28 +01:00

Drop fixed pipeline lighting stuff (#15165)

This commit is contained in:
grorp
2024-09-18 12:18:28 +02:00
committed by GitHub
parent 6dfd61cba0
commit 70e169f165
34 changed files with 59 additions and 426 deletions

View File

@@ -40,7 +40,6 @@ public:
video::ITexture *tex = env->getGameDef()->tsrc()->getTextureForMesh("smoke_puff.png");
m_spritenode->forEachMaterial([tex] (auto &mat) {
mat.TextureLayers[0].Texture = tex;
mat.Lighting = false;
mat.TextureLayers[0].MinFilter = video::ETMINF_NEAREST_MIPMAP_NEAREST;
mat.TextureLayers[0].MagFilter = video::ETMAGF_NEAREST;
mat.MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL;