IES profile support and fixed numerous editor crashes.

This commit is contained in:
Justin Marshall
2026-05-22 18:57:55 -07:00
parent bb7c62ef9f
commit 3bc9ac82b7
16 changed files with 635 additions and 56 deletions
+5
View File
@@ -1705,6 +1705,10 @@ typedef struct glRaytracingLight_s
// spot: x = near clip, y/z unused
// rect : scalar range copy
float pointRadiusPad; // non-zero disables specular for this light
uint32_t iesTextureId; // optional GL texture containing a lat-long IES profile
float iesStrength; // 0 disables, 1 uses texture as authored
float iesPad[2];
} glRaytracingLight_t;
typedef struct glRaytracingLightingPassDesc_s
@@ -1844,6 +1848,7 @@ ID3D12Device* QD3D12_GetDevice(void);
ID3D12CommandQueue* QD3D12_GetQueue(void);
ID3D12GraphicsCommandList* QD3D12_GetCommandList(void);
ID3D12Resource* QD3D12_GetCurrentBackBuffer(void);
ID3D12Resource* QD3D12_GetTextureResource(GLuint texture, DXGI_FORMAT* format, UINT* width, UINT* height, ID3D12GraphicsCommandList* commandList);
static float glRaytracingSqrtf(float x)
{