29 class DtTileSpaceLightGrid;
33 #define CPU_SIDE_COMPILATION 1
34 #include <../data/shaders/lights/DtLightIndexData.h>
35 #include <../data/shaders/lights/DtLightIntersectionData.h>
36 #include <../data/shaders/lights/DtLightIndexBufferInfo.h>
37 #undef CPU_SIDE_COMPILATION
40 class DtLightComputeProgramShaderConstants;
64 virtual void slot_reloadShader(
void);
68 virtual bool failedCompilation(
void)
const;
72 ,
const int tileLightIndexTotalCount
73 ,
const size_t lightCount
80 ,
const int viewOffset
81 ,
const unsigned int sensorMask);
85 virtual void initializeShadersIfNecessary(
void);
88 virtual void deleteShaders(
void);
90 static const int theNumLightSourceComputeShaders = 2;
std::atomic< bool > myDeleteShaders
Definition: DtLightComputeProgram.h:110
DtDe & myDe
Definition: DtLightComputeProgram.h:104
int myWorkGroupLocalSizeX
Definition: DtLightComputeProgram.h:112
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
std::array< int, theNumLightSourceComputeShaders > myGpuShaderUboBinding
Definition: DtLightComputeProgram.h:97
static const std::string theLightingFunctionsShaderFilePath
Definition: DtLightComputeProgram.h:100
std::array< DtGlBuffer *, theNumLightSourceComputeShaders > myGpuShaderUbo
Definition: DtLightComputeProgram.h:96
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Class doing all the heavy lifting in regards of forward+ lighting.
Definition: DtTileSpaceLightGrid.h:42
static const std::array< std::string, theNumLightSourceComputeShaders > theLightSourcesComputeShaderFilePaths
Definition: DtLightComputeProgram.h:99
Base class to provide boost signal/slot management.
std::array< DtLightComputeProgramShaderConstants *, theNumLightSourceComputeShaders > myLightSourceComputeShaderConstants
Definition: DtLightComputeProgram.h:94
std::array< DtGlProgram *, theNumLightSourceComputeShaders > myComputePrograms
Definition: DtLightComputeProgram.h:92
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
bool myShadersFailedToCompile
Definition: DtLightComputeProgram.h:102
DtSignalConnectionManager myConnections
Definition: DtLightComputeProgram.h:106
Class that encapsulates the 2 pass (setup, sort) computation of lights affecting the screen space til...
Definition: DtLightComputeProgram.h:46