9 lines
157 B
GLSL
9 lines
157 B
GLSL
|
|
void SetupMaterial(inout Material material)
|
|
{
|
|
#ifdef SIMPLE3D
|
|
material.Base = uObjectColor;
|
|
#else
|
|
material.Base = desaturate(uObjectColor);
|
|
#endif
|
|
}
|