Added screensapce decal system and stamp placement system in Radiant.

This commit is contained in:
Justin Marshall
2026-05-22 07:54:36 -07:00
parent e8ea0567b0
commit f2e8b0b45e
13 changed files with 962 additions and 32 deletions
+17
View File
@@ -1728,6 +1728,21 @@ typedef struct glRaytracingLightingPassDesc_s
uint32_t height;
} glRaytracingLightingPassDesc_t;
typedef struct glScreenSpaceDecal_s
{
glRaytracingVec3_t origin;
float halfSize;
glRaytracingVec3_t normal;
float depth;
glRaytracingVec3_t axisU;
float opacity;
glRaytracingVec3_t axisV;
float pad0;
float color[4];
uint32_t textureId;
float pad1[3];
} glScreenSpaceDecal_t;
int glRaytracingInit(void);
void glRaytracingShutdown(void);
void glRaytracingClear(void);
@@ -1821,6 +1836,8 @@ glRaytracingLight_t glRaytracingLightingMakeRectLight(
uint32_t glRaytracingLightingGetLightCount(void);
void glLightScene(glRaytracingSceneHandle_t sceneHandle);
void glSetScreenSpaceDecalsQD3D12(const glScreenSpaceDecal_t* decals, uint32_t decalCount);
void glDrawScreenSpaceDecalsQD3D12(void);
ID3D12Device* QD3D12_GetDevice(void);
ID3D12CommandQueue* QD3D12_GetQueue(void);