mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
17 lines
446 B
Text
17 lines
446 B
Text
|
|
||
|
Material ProcessMaterial();
|
||
|
|
||
|
void SetupMaterial(inout Material material)
|
||
|
{
|
||
|
Material legacy = ProcessMaterial();
|
||
|
material.Base = legacy.Base;
|
||
|
material.Bright = legacy.Bright;
|
||
|
material.Normal = legacy.Normal;
|
||
|
material.Specular = legacy.Specular;
|
||
|
material.Glossiness = legacy.Glossiness;
|
||
|
material.SpecularLevel = legacy.SpecularLevel;
|
||
|
material.Metallic = legacy.Metallic;
|
||
|
material.Roughness = legacy.Roughness;
|
||
|
material.AO = legacy.AO;
|
||
|
}
|