gzdoom/wadsrc/static/shaders/scene/material_legacy_pmaterial.glsl
2023-09-25 21:18:57 +02:00

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;
}