gzdoom/wadsrc/static/shaders/scene/material_legacy_pmaterial.glsl

17 lines
446 B
Text
Raw Normal View History

2023-03-19 06:18:12 +00:00
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;
}