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
+2
View File
@@ -209,6 +209,7 @@ public:
const idMaterial * lightShader; // guaranteed to be valid, even if parms.shader isn't
idImage * falloffImage;
idImage * iesImage;
idVec3 globalLightOrigin; // accounting for lightCenter and parallel
@@ -322,6 +323,7 @@ typedef struct viewLight_s {
const idMaterial * lightShader; // light shader used by backend
const float * shaderRegisters; // shader registers used by backend
idImage * falloffImage; // falloff image used by backend
idImage * iesImage; // optional IES photometric profile
const struct drawSurf_s *globalShadows; // shadow everything
const struct drawSurf_s *localInteractions; // don't get local shadows