MCPcopy Create free account
hub / github.com/TheRealMJP/BakingLab / FinalResult

Method FinalResult

BakingLab/MeshBaker.cpp:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 }
89
90 void FinalResult(Float4 bakeOutput[BasisCount])
91 {
92 float3 finalResult = ResultSum * CosineWeightedMonteCarloFactor(NumSamples);
93 bakeOutput[0] = Float4(Float3::Clamp(finalResult, 0.0f, FP16Max), 1.0f);
94 }
95
96 void ProgressiveResult(Float4 bakeOutput[BasisCount], uint64 passIdx)
97 {

Callers

nothing calls this directly

Calls 3

ClampFunction · 0.85
Float4Class · 0.50

Tested by

no test coverage detected