Hack to hide debug cubes in Super Mario Sunshine

... while not breaking other games.
This commit is contained in:
Pokechu22
2021-02-22 19:03:06 -08:00
parent e62610e6bc
commit c583cac568
11 changed files with 34 additions and 34 deletions

View File

@ -214,10 +214,7 @@ ShaderCode GenerateVertexShaderCode(APIType api_type, const ShaderHostConfig& ho
}
else
{
// The default alpha channel depends on the number of components in the vertex format.
out.Write(
"vertex_color_{0} = float4(1.0, 1.0, 1.0, float((color_chan_alpha >> {0}) & 1u));\n",
color);
out.Write("vertex_color_{0} = missing_color_value;\n", color);
}
}