Blender V5.3
constants.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Foundation
2 *
3 * SPDX-License-Identifier: Apache-2.0 */
4
5#pragma once
6
7/* Constant defines for the resolutions of the albedo look up tables. */
8
9#define GGX_E_RES_ROUGH 32
10#define GGX_E_RES_MU 32
11
12#define GGX_GLASS_E_RES_ROUGH 32
13#define GGX_GLASS_E_RES_MU 32
14#define GGX_GLASS_E_RES_IOR 32
15
16#define GGX_GEN_SCHLICK_S_RES_ROUGH 32
17#define GGX_GEN_SCHLICK_S_RES_MU 32
18#define GGX_GEN_SCHLICK_S_RES_IOR 32
19
20#define GGX_GEN_SCHLICK_IOR_S_RES_ROUGH 32
21#define GGX_GEN_SCHLICK_IOR_S_RES_MU 32
22#define GGX_GEN_SCHLICK_IOR_S_RES_IOR 32
23
24#define SHEEN_RES_ROUGH 32
25#define SHEEN_RES_MU 32