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

Method AddSample

BakingLab/MeshBaker.cpp:222–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220 }
221
222 void AddSample(Float3 sampleDir, uint64 sampleIdx, Float3 sample, bool hitSky)
223 {
224 ResultSum += ProjectOntoSH9Color(sampleDir, sample);
225 }
226
227 void FinalResult(Float4 bakeOutput[BasisCount])
228 {

Callers

nothing calls this directly

Calls 1

ProjectOntoSH9ColorFunction · 0.85

Tested by

no test coverage detected