Blender V4.3
eevee_lut.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
12
13namespace blender::eevee::lut {
14
15/* LTC matrix components for isotropic GGX. */
16extern const float ltc_mat_ggx[64][64][4];
17/* LTC magnitude components for isotropic GGX. */
18extern const float ltc_mag_ggx[64][64][2];
19/* Precomputed Disk integral for different elevation angles and solid angle. */
20extern const float ltc_disk_integral[64][64][1];
21/* Precomputed integrated split fresnel term of the GGX BRDF. */
22extern const float brdf_ggx[64][64][3];
23/* Precomputed Schlick reflectance and transmittance factor of glass material with IOR < 1. */
24extern const float bsdf_ggx[16][64][64][3];
25/* Precomputed Schlick transmittance factor of glass material with IOR > 1. */
26extern const float btdf_ggx[16][64][64][1];
27/* 4 different blue noise, one per channel. */
28extern const float blue_noise[64][64][4];
29/* Precomputed translucency profile of a slab of material with varying thickness. */
30extern const float burley_sss_profile[64][1];
31/* Precomputed translucency profile of a slab of material with varying thickness. */
32extern const float random_walk_sss_profile[64][1];
33
34#ifdef CYCLES_REFERENCE_LUT
35/* Precomputed translucency profile of a slab of material with varying thickness. */
36extern const float cycles_burley_reference_sss_profile[256][3];
37/* Precomputed translucency profile of a slab of material with varying thickness. */
38extern const float cycles_random_walk_reference_sss_profile[256][3];
39#endif
40
41} // namespace blender::eevee::lut
const float ltc_mat_ggx[64][64][4]
Definition eevee_lut.cc:13
const float burley_sss_profile[64][1]
const float brdf_ggx[64][64][3]
const float random_walk_sss_profile[64][1]
const float ltc_disk_integral[64][64][1]
const float btdf_ggx[16][64][64][1]
const float bsdf_ggx[16][64][64][3]
const float blue_noise[64][64][4]
const float ltc_mag_ggx[64][64][2]