WIP Implementing Reflection for lighting and particle systems

This commit is contained in:
2025-08-31 16:17:21 -07:00
parent 453d8d8f68
commit b5b3aa028e
8 changed files with 75 additions and 15 deletions

View File

@@ -53,9 +53,9 @@ public:
virtual void loadXML(tinyxml2::XMLElement* e);
void setIntensity(float intensity);
float getIntensity();
float getIntensity() const;
void setDecayStart(float decayStart);
float getDecayStart();
float getDecayStart() const;
const hydra::Vector3& getColor();
void setColor(const hydra::Vector3& color);
@@ -74,6 +74,9 @@ public:
protected:
KRLight(KRScene& scene, std::string name);
bool getShaderValue(ShaderValue value, float* output) const override;
bool getShaderValue(ShaderValue value, hydra::Vector3* output) const override;
float m_intensity;
float m_decayStart;
hydra::Vector3 m_color;