Blender
V3.3
|
#include "DRW_render.h"
#include "BLI_fileops.h"
#include "BLI_rand.h"
#include "BLI_string_utils.h"
#include "eevee_private.h"
Go to the source code of this file.
Macros | |
#define | DO_FILE_OUTPUT 0 |
Functions | |
float * | EEVEE_lut_update_ggx_brdf (int lut_size) |
float * | EEVEE_lut_update_ggx_btdf (int lut_size, int lut_depth) |
EEVEE LUT generation:
Routine to generate the LUT used by eevee stored in eevee_lut.h These functions are not to be used in the final executable.
Definition in file eevee_lut_gen.c.
#define DO_FILE_OUTPUT 0 |
Definition at line 21 of file eevee_lut_gen.c.
float* EEVEE_lut_update_ggx_brdf | ( | int | lut_size | ) |
Definition at line 23 of file eevee_lut_gen.c.
References BLI_fopen(), data, DRW_draw_pass(), DRW_pass_create(), DRW_shgroup_call_procedural_triangles(), DRW_shgroup_create(), DRW_shgroup_uniform_float_copy(), DRW_STATE_WRITE_COLOR, DRW_texture_create_2d(), EEVEE_shaders_ggx_lut_sh_get(), fb(), GPU_DATA_FLOAT, GPU_framebuffer_bind(), GPU_RG16F, GPU_texture_free(), GPU_texture_read(), NULL, and tex.
Referenced by eevee_init_util_texture(), and blender::eevee::UtilityTexture::UtilityTexture().
float* EEVEE_lut_update_ggx_btdf | ( | int | lut_size, |
int | lut_depth | ||
) |
Definition at line 60 of file eevee_lut_gen.c.
References BLI_fopen(), data, DRW_draw_pass(), DRW_pass_create(), DRW_shgroup_call_procedural_triangles(), DRW_shgroup_create(), DRW_shgroup_uniform_float(), DRW_shgroup_uniform_float_copy(), DRW_STATE_WRITE_COLOR, DRW_texture_create_2d_array(), EEVEE_shaders_ggx_refraction_lut_sh_get(), fb(), GPU_DATA_FLOAT, GPU_framebuffer_bind(), GPU_RG16F, GPU_texture_free(), GPU_texture_read(), NULL, usdtokens::roughness(), and tex.
Referenced by eevee_init_util_texture(), and blender::eevee::UtilityTexture::UtilityTexture().