| 225 | } |
| 226 | |
| 227 | void FinalResult(Float4 bakeOutput[BasisCount]) |
| 228 | { |
| 229 | SH9Color result = ResultSum * HemisphereMonteCarloFactor(NumSamples); |
| 230 | for(uint64 i = 0; i < BasisCount; ++i) |
| 231 | bakeOutput[i] = Float4(Float3::Clamp(result.Coefficients[i], -FP16Max, FP16Max), 1.0f); |
| 232 | } |
| 233 | |
| 234 | void ProgressiveResult(Float4 bakeOutput[BasisCount], uint64 passIdx) |
| 235 | { |
nothing calls this directly
no test coverage detected