Blender  V3.3
Functions
eevee_lookdev.c File Reference
#include "DRW_render.h"
#include "BKE_camera.h"
#include "BKE_studiolight.h"
#include "BLI_rand.h"
#include "BLI_rect.h"
#include "DNA_screen_types.h"
#include "DNA_world_types.h"
#include "DEG_depsgraph_query.h"
#include "ED_screen.h"
#include "GPU_material.h"
#include "UI_resources.h"
#include "eevee_lightcache.h"
#include "eevee_private.h"
#include "draw_common.h"

Go to the source code of this file.

Functions

static void eevee_lookdev_lightcache_delete (EEVEE_Data *vedata)
 
static void eevee_lookdev_hdri_preview_init (EEVEE_Data *vedata, EEVEE_ViewLayerData *sldata)
 
void EEVEE_lookdev_init (EEVEE_Data *vedata)
 
void EEVEE_lookdev_cache_init (EEVEE_Data *vedata, EEVEE_ViewLayerData *sldata, DRWPass *pass, EEVEE_LightProbesInfo *pinfo, DRWShadingGroup **r_shgrp)
 
static void eevee_lookdev_apply_taa (const EEVEE_EffectsInfo *effects, int sphere_size, float winmat[4][4])
 
void EEVEE_lookdev_draw (EEVEE_Data *vedata)
 

Function Documentation

◆ eevee_lookdev_apply_taa()

static void eevee_lookdev_apply_taa ( const EEVEE_EffectsInfo effects,
int  sphere_size,
float  winmat[4][4] 
)
static

◆ EEVEE_lookdev_cache_init()

void EEVEE_lookdev_cache_init ( EEVEE_Data vedata,
EEVEE_ViewLayerData sldata,
DRWPass pass,
EEVEE_LightProbesInfo pinfo,
DRWShadingGroup **  r_shgrp 
)

Definition at line 139 of file eevee_lookdev.c.

References axis_angle_to_mat3_single(), BKE_studiolight_ensure_flag(), BKE_studiolight_find(), copy_m3_m3(), copy_m3_m4(), LightCache::cube_data, LightCache::cube_mips, LightCache::cube_tx, DEG_get_evaluated_scene(), DRWContextState::depsgraph, DRW_context_state_get(), DRW_shgroup_create(), DRW_shgroup_uniform_float_copy(), DRW_shgroup_uniform_mat3(), DRW_shgroup_uniform_texture(), DRW_shgroup_uniform_texture_ex(), DRW_view_viewmat_get(), Scene::eevee, eevee_hdri_preview_overlay_enabled(), EEVEE_lightcache_create(), eevee_lookdev_hdri_preview_init(), eevee_lookdev_lightcache_delete(), EEVEE_shaders_studiolight_background_sh_get(), EEVEE_shaders_studiolight_probe_sh_get(), EEVEE_StorageList::effects, equals_m3m3(), StudioLight::equirect_radiance_gputexture, StudioLight::flag, LightCache::flag, View3DShading::flag, EEVEE_StorageList::g_data, g_data, SceneEEVEE::gi_cubemap_resolution, SceneEEVEE::gi_filter_quality, SceneEEVEE::gi_glossy_clamp, GPU_SAMPLER_FILTER, GPU_SAMPLER_REPEAT_S, LightCache::grid_data, LightCache::grid_tx, StudioLight::index, LIGHTCACHE_UPDATE_WORLD, LOOK_DEV_STUDIO_LIGHT_ENABLED, EEVEE_StorageList::lookdev_cube_data, EEVEE_StorageList::lookdev_cube_mips, EEVEE_TextureList::lookdev_cube_tx, EEVEE_StorageList::lookdev_grid_data, EEVEE_TextureList::lookdev_grid_tx, View3DShading::lookdev_light, EEVEE_StorageList::lookdev_lightcache, EEVEE_EffectsInfo::lookdev_view, M_PI_2, MEM_SAFE_FREE, mul_m3_m3m3(), NULL, powf, scene, DRWContextState::scene, View3D::shading, state, EEVEE_Data::stl, View3DShading::studiolight_background, View3DShading::studiolight_blur, STUDIOLIGHT_EQUIRECT_RADIANCE_GPUTEXTURE, View3DShading::studiolight_intensity, STUDIOLIGHT_ORIENTATIONS_MATERIAL_MODE, View3DShading::studiolight_rot_z, STUDIOLIGHT_TYPE_WORLD, LightCacheTexture::tex, EEVEE_Data::txl, DRWContextState::v3d, and V3D_SHADING_STUDIOLIGHT_VIEW_ROTATION.

Referenced by EEVEE_lightprobes_cache_init(), and EEVEE_materials_cache_init().

◆ EEVEE_lookdev_draw()

void EEVEE_lookdev_draw ( EEVEE_Data vedata)

◆ eevee_lookdev_hdri_preview_init()

static void eevee_lookdev_hdri_preview_init ( EEVEE_Data vedata,
EEVEE_ViewLayerData sldata 
)
static

◆ EEVEE_lookdev_init()

void EEVEE_lookdev_init ( EEVEE_Data vedata)

◆ eevee_lookdev_lightcache_delete()

static void eevee_lookdev_lightcache_delete ( EEVEE_Data vedata)
static