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

Method AddSample

BakingLab/MeshBaker.cpp:266–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264 }
265
266 void AddSample(Float3 sampleDir, uint64 sampleIdx, Float3 sample, bool hitSky)
267 {
268 ResultSum += ProjectOntoSH9Color(sampleDir, sample);
269 }
270
271 void FinalResult(Float4 bakeOutput[BasisCount])
272 {

Callers 1

BakeDriverFunction · 0.45

Calls 1

ProjectOntoSH9ColorFunction · 0.85

Tested by

no test coverage detected