mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Hack to hide debug cubes in Super Mario Sunshine
... while not breaking other games.
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user