mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +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
|
@ -1478,10 +1478,8 @@ void COpenGL3DriverBase::chooseMaterial2D()
|
|||
Material = InitMaterial2D;
|
||||
|
||||
if (OverrideMaterial2DEnabled) {
|
||||
OverrideMaterial2D.Lighting = false;
|
||||
OverrideMaterial2D.ZWriteEnable = EZW_OFF;
|
||||
OverrideMaterial2D.ZBuffer = ECFN_DISABLED; // it will be ECFN_DISABLED after merge
|
||||
OverrideMaterial2D.Lighting = false;
|
||||
|
||||
Material = OverrideMaterial2D;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue