Searched refs:mat (Results 1 – 1 of 1) sorted by relevance
98 } mat; in SetLutTable() local128 mat.F_dr = - 1.440f / (refi * refi) + 0.71f / refi + 0.668f + 0.0636f * refi; in SetLutTable()129 A = (1.0f + mat.F_dr) / (1.0f - mat.F_dr); in SetLutTable()130 mat.Bi = 1.0f + (4.0f / 3.0f) * A; in SetLutTable()131 mat.refi = refi; in SetLutTable()135 mat.zr[co] = geom_scale / sigma_t_prim[co]; in SetLutTable()136 mat.albedo[co] = sigma_s_prim[co] / sigma_t_prim[co]; in SetLutTable()137 mat.beta[co] = sqrt(3.0f * (1.0f - mat.albedo[co])); in SetLutTable()138 mat.beta_prime[co] = mat.beta[co] * mat.Bi; in SetLutTable()139 mat.dif_refl[co] = 0.5f * mat.albedo[co] * (exp(-mat.beta[co]) + exp(-mat.beta_prime[co])); in SetLutTable()[all …]