Searched refs:display_gamma (Results 1 – 1 of 1) sorted by relevance
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSss/ |
| D | LightingSss.cpp | 145 float gamma, LN, h, kappa, display_gamma = 0.47f; in SetLutTable() local 158 qlut[co][j] = pow(qlut[co][j], display_gamma); in SetLutTable() 174 qlut[co][j] = pow(qlut[co][j], display_gamma); in SetLutTable() 183 qlut[co][127 + 256] = pow(mat.dif_refl[co], display_gamma) - qlut[co][127]; in SetLutTable() 203 lut[j] = pow(lut[j], display_gamma); in SetLutTable() 207 lut[255 + 256] = pow((1.f - r_fresnel(1.f, 1.7f, 0.36f, 0.f)), display_gamma) - lut[255]; in SetLutTable()
|