From 6d76a11e256cd96c9cdd7ae5a10c0276e6347277 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 20 Mar 2024 01:53:34 +1100 Subject: experiment: unclamped lighting --- source/game/StarObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/game/StarObject.cpp') diff --git a/source/game/StarObject.cpp b/source/game/StarObject.cpp index c56229e..7bac350 100644 --- a/source/game/StarObject.cpp +++ b/source/game/StarObject.cpp @@ -261,7 +261,7 @@ List Object::lightSources() const { LightSource lightSource; lightSource.position = position() + centerOfTile(orientation->lightPosition); - lightSource.color = color.toRgb(); + lightSource.color = color.toRgbF(); lightSource.pointLight = m_config->pointLight; lightSource.pointBeam = m_config->pointBeam; lightSource.beamAngle = orientation->beamAngle; -- cgit v1.2.3