Nebula
Loading...
Searching...
No Matches
ddgicontext.cc File Reference
#include "foundation/stdneb.h"
#include "coregraphics/pipeline.h"
#include "ddgicontext.h"
#include <cstdint>
#include "clustering/clustercontext.h"
#include "coregraphics/meshloader.h"
#include "coregraphics/meshresource.h"
#include "frame/default.h"
#include "graphics/cameracontext.h"
#include "graphics/view.h"
#include "lighting/lightcontext.h"
#include "raytracing/raytracingcontext.h"
#include "coregraphics/shaperenderer.h"
#include "gpulang/render/gi/shaders/probe_update.h"
#include "gpulang/render/gi/shaders/probe_finalize.h"
#include "gpulang/render/gi/shaders/gi_volume_cull.h"
#include "gpulang/render/gi/shaders/probe_relocate_and_classify.h"
#include "graphics/globalconstants.h"
#include "gpulang/render/gi/shaders/probe_debug.h"
#include "options.h"
#include "core/cvar.h"

Namespaces

namespace  GI
 The DDGI context is responsible for managing the GI volumes used to apply indirect light in the scene.

Functions

 GI::__ImplementContext (DDGIContext, DDGIContext::ddgiVolumeAllocator) struct UpdateVolume
Math::vec4 GI::SphericalFibonacci (float index, float numSamples)

Variables

Core::CVar * g_debug_ddgi = Core::CVarCreate(Core::CVar_Int, "g_debug_ddgi", "0", "Draw DDGI probes")
Core::CVar * g_debug_ddgi_probe_size = Core::CVarCreate(Core::CVar_Float, "g_debug_ddgi_probe_size", "0.01f", "Set size of DDGI probes")
Core::CVar * r_RaytracingDDGI = Core::CVarCreate(Core::CVar_Int, "r_RaytracingDDGI", "1", "DDGI probe rays [0,1]. Independent of r_RaytracingDispatch.")
struct  GI::state

Variable Documentation

◆ g_debug_ddgi

Core::CVar* g_debug_ddgi = Core::CVarCreate(Core::CVar_Int, "g_debug_ddgi", "0", "Draw DDGI probes")

◆ g_debug_ddgi_probe_size

Core::CVar* g_debug_ddgi_probe_size = Core::CVarCreate(Core::CVar_Float, "g_debug_ddgi_probe_size", "0.01f", "Set size of DDGI probes")

◆ r_RaytracingDDGI

Core::CVar* r_RaytracingDDGI = Core::CVarCreate(Core::CVar_Int, "r_RaytracingDDGI", "1", "DDGI probe rays [0,1]. Independent of r_RaytracingDispatch.")