idTech 8 style path tracing.

This commit is contained in:
Justin Marshall
2026-05-27 14:08:35 -07:00
parent 41cbd5669b
commit 5d2cb8640d
11 changed files with 1652 additions and 355 deletions
+4 -1
View File
@@ -4099,7 +4099,8 @@ static classVariableInfo_t glRaytracingLight_t_typeInfo[] = {
{ "float", "pointRadiusPad", (intptr_t)(&((glRaytracingLight_t *)0)->pointRadiusPad), sizeof( ((glRaytracingLight_t *)0)->pointRadiusPad ) },
{ "uint32_t", "iesTextureId", (intptr_t)(&((glRaytracingLight_t *)0)->iesTextureId), sizeof( ((glRaytracingLight_t *)0)->iesTextureId ) },
{ "float", "iesStrength", (intptr_t)(&((glRaytracingLight_t *)0)->iesStrength), sizeof( ((glRaytracingLight_t *)0)->iesStrength ) },
{ "float[2]", "iesPad", (intptr_t)(&((glRaytracingLight_t *)0)->iesPad), sizeof( ((glRaytracingLight_t *)0)->iesPad ) },
{ "int32_t", "areaNum", (intptr_t)(&((glRaytracingLight_t *)0)->areaNum), sizeof( ((glRaytracingLight_t *)0)->areaNum ) },
{ "float", "iesPad", (intptr_t)(&((glRaytracingLight_t *)0)->iesPad), sizeof( ((glRaytracingLight_t *)0)->iesPad ) },
{ NULL, 0 }
};
@@ -4112,6 +4113,8 @@ static classVariableInfo_t glRaytracingLightingPassDesc_t_typeInfo[] = {
{ "DXGI_FORMAT", "normalFormat", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->normalFormat), sizeof( ((glRaytracingLightingPassDesc_t *)0)->normalFormat ) },
{ "ID3D12Resource *", "positionTexture", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->positionTexture), sizeof( ((glRaytracingLightingPassDesc_t *)0)->positionTexture ) },
{ "DXGI_FORMAT", "positionFormat", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->positionFormat), sizeof( ((glRaytracingLightingPassDesc_t *)0)->positionFormat ) },
{ "ID3D12Resource *", "velocityTexture", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->velocityTexture), sizeof( ((glRaytracingLightingPassDesc_t *)0)->velocityTexture ) },
{ "DXGI_FORMAT", "velocityFormat", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->velocityFormat), sizeof( ((glRaytracingLightingPassDesc_t *)0)->velocityFormat ) },
{ "ID3D12Resource *", "outputTexture", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->outputTexture), sizeof( ((glRaytracingLightingPassDesc_t *)0)->outputTexture ) },
{ "DXGI_FORMAT", "outputFormat", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->outputFormat), sizeof( ((glRaytracingLightingPassDesc_t *)0)->outputFormat ) },
{ "uint32_t", "width", (intptr_t)(&((glRaytracingLightingPassDesc_t *)0)->width), sizeof( ((glRaytracingLightingPassDesc_t *)0)->width ) },