MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / SetDebugFlatColor

Method SetDebugFlatColor

engine/Poseidon/Graphics/Core/Engine.hpp:414–414  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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

Callers 2

DrawRenderTabFunction · 0.45
TriSetFlatShadingFunction · 0.45

Calls

no outgoing calls

Tested by 1

TriSetFlatShadingFunction · 0.36