mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 06:12:19 +00:00
16 lines
446 B
GLSL
16 lines
446 B
GLSL
|
|
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;
|
|
}
|