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

Method GetShadowFactor

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

Source from the content-addressed store, hash-verified

352
353 void SetShadowFactor(int shadowFactor) { _shadowFactor = shadowFactor; }
354 int GetShadowFactor() const { return _shadowFactor; }
355
356 /// Day/night strength of the shadow-MAP shadows in [0,1]: 1 in full daylight,
357 /// fading through dusk to 0 at night (sun below the horizon casts no sun shadow,

Callers 2

DrawShadowMethod · 0.80
DoShadowLightingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected