mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Drop fixed pipeline lighting stuff (#15165)
This commit is contained in:
parent
6dfd61cba0
commit
70e169f165
34 changed files with 59 additions and 426 deletions
|
@ -1098,13 +1098,9 @@ core::array<scene::ISceneNode*> CGUITTFont::addTextSceneNode(const wchar_t* text
|
|||
|
||||
// the default font material
|
||||
SMaterial mat;
|
||||
mat.Lighting = true;
|
||||
mat.ZWriteEnable = video::EZW_OFF;
|
||||
mat.NormalizeNormals = true;
|
||||
mat.ColorMaterial = video::ECM_NONE;
|
||||
mat.MaterialType = use_transparency ? video::EMT_TRANSPARENT_ALPHA_CHANNEL : video::EMT_SOLID;
|
||||
mat.MaterialTypeParam = 0.01f;
|
||||
mat.DiffuseColor = color;
|
||||
|
||||
wchar_t current_char = 0, previous_char = 0;
|
||||
u32 n = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue