mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 04:30:12 +02:00
IES profile support and fixed numerous editor crashes.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user