17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-31 11:09:06 +01:00

Keep the hotspotpower of light points apart from their colour

This commit is contained in:
2026-10-19 17:51:13 +02:00
parent 8c00b0bc3d
commit 0545f93f24
4 changed files with 31 additions and 21 deletions

View File

@@ -115,7 +115,7 @@ public:
f4Emision { 1.0f,1.0f,1.0f,1.0f };
glm::vec3 DiffuseOverride { -1.f };
normalization m_normalizenormals { normalization::none }; // indicates vectors need to be normalized due to scaling etc
float diffuseMultiplier {1.0};
float fHotspotPower { 1.0f }; // natężenie światła punktowego (hotspotpower/100), kolor określa tylko f4Diffuse
float fWireSize { 0.0f }; // nie używane, ale wczytywane
float fSquareMaxDist { 10000.0f * 10000.0f };
float fSquareMinDist { 0.0f };