Fixed attenuation

This commit is contained in:
Justin Marshall
2026-05-02 11:14:30 -07:00
parent e8c6f824a8
commit b4521f8b6c
3 changed files with 94 additions and 25 deletions
+1 -1
View File
@@ -516,7 +516,7 @@ void R_InitOpenGL( void ) {
R_SetColorMappings();
glRaytracingLightingSetExternalDenoiser(1);
glRaytracingLightingSetPathTracingOptions(128, 8, 1, 1.0f);
glRaytracingLightingSetPathTracingOptions(256, 2, 1, 1.0f);
// Create the DXR worlds.
for (int i = 0; i < DXR_WORLD_NUM; i++)
+3 -3
View File
@@ -187,9 +187,9 @@ void RB_DXDrawInteractions(void)
vLight->globalLightOrigin.x,
vLight->globalLightOrigin.y,
vLight->globalLightOrigin.z,
srcLight.lightRadius[0] * 1.4f,
srcLight.lightRadius[1] * 1.4f,
srcLight.lightRadius[2] * 1.4f,
srcLight.lightRadius[0] * 2.0f,
srcLight.lightRadius[1] * 2.0f,
srcLight.lightRadius[2] * 2.0f,
r, g, b,
intensity);