Home
last modified time | relevance | path

Searched refs:LN (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSss/
DLightingSss.cpp145 float gamma, LN, h, kappa, display_gamma = 0.47f; in SetLutTable() local
148 LN = (float)j/128.f; in SetLutTable()
149 kappa = 1.0f - LN * LN; in SetLutTable()
153 if (LN > 0.f) in SetLutTable()
154 qlut[co][j] = mat.dif_refl[co] * LN; in SetLutTable()
156 h = fabsf(LN) / gamma; in SetLutTable()
164 LN = (float)(j - 256) /128.f; in SetLutTable()
165 kappa = 1.0f - LN * LN; in SetLutTable()
168 if (LN > 0.f) in SetLutTable()
169 qlut[co][j] = mat.dif_refl[co] * LN; in SetLutTable()
[all …]
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingToonApple/
DLightingToonApple.cpp93 float previous = 0, LN; in SetLutTable() local
100 LN = (float)j/127.9375f; in SetLutTable()
101 if (LN > delta[i]) in SetLutTable()
105 lut[j] = LN; in SetLutTable()
117 LN = (float)(j - 256) /128.f; in SetLutTable()
118 if (LN > delta[i]) in SetLutTable()
122 lut[j] = LN; in SetLutTable()