| 181 | } |
| 182 | |
| 183 | void FinalResult(Float4 bakeOutput[BasisCount]) |
| 184 | { |
| 185 | SH4Color result = ResultSum * HemisphereMonteCarloFactor(NumSamples); |
| 186 | for(uint64 i = 0; i < BasisCount; ++i) |
| 187 | bakeOutput[i] = Float4(Float3::Clamp(result.Coefficients[i], -FP16Max, FP16Max), 1.0f); |
| 188 | } |
| 189 | |
| 190 | void ProgressiveResult(Float4 bakeOutput[BasisCount], uint64 passIdx) |
| 191 | { |
nothing calls this directly
no test coverage detected