vkdoom_m/wadsrc/static/shaders/scene/material_notexture.glsl
2025-07-22 22:58:12 +08:00

10 lines
206 B
GLSL

void SetupMaterial(inout Material material)
{
#ifdef SIMPLE3D
material.Base = uObjectColor;
#else
material.Base = desaturate(uObjectColor);
material.Normal = normalize(vWorldNormal.xyz);
#endif
}