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

Function ShadowFactor

engine/Poseidon/World/Scene/SceneDraw.cpp:623–629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621 }
622 }
623#endif
624 totalComplexity += obj->GetComplexity(oi->drawLOD, *obj);
625 }
626 }
627 return totalComplexity;
628}
629
630static int ShadowFactor(Scene* scene)
631{
632 float addLightsFactor = scene->MainLight()->NightEffect();

Callers 2

AdjustComplexityMethod · 0.85

Calls 5

floatMinFunction · 0.85
NightEffectMethod · 0.80
MainLightMethod · 0.80
SkyThroughMethod · 0.80
GetLandscapeMethod · 0.80

Tested by

no test coverage detected