KRLight now using KRTextureBinding

This commit is contained in:
2025-11-11 14:21:34 -08:00
parent dbb6e98307
commit d8eb663731
4 changed files with 19 additions and 19 deletions

View File

@@ -33,6 +33,7 @@
#include "resources/KRResource.h"
#include "KRNode.h"
#include "resources/texture/KRTexture.h"
#include "resources/texture/KRTextureBinding.h"
static const float KRLIGHT_MIN_INFLUENCE = 0.15f; // 0.05f
@@ -81,8 +82,7 @@ protected:
float m_decayStart;
hydra::Vector3 m_color;
std::string m_flareTexture;
KRTexture* m_pFlareTexture;
KRTextureBinding m_flareTexture;
float m_flareSize;
float m_flareOcclusionSize;