Diagnostic: replace object shading with a flat solid colour (red), keeping the alpha-test silhouette + cutout holes. A highlight that vanishes under flat colour is a shading/texture artifact; one that persists is a geometry/vertex-position artifact. No-op on backends that don't support it.
| 412 | // flat colour is a shading/texture artifact; one that persists is a |
| 413 | // geometry/vertex-position artifact. No-op on backends that don't support it. |
| 414 | virtual void SetDebugFlatColor(bool /*enable*/) {} |
| 415 | virtual bool GetDebugFlatColor() const { return false; } |
| 416 | |
| 417 | // SSAA render scale: render the frame at scale x window size into an |
no outgoing calls