From 37c0f3b6a793495c95f6cf08c2c45d3030b539c4 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 30 Nov 2008 15:43:27 +0000 Subject: improved camera handling and dust rendering --- src/render/dust.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/render/dust.cc') diff --git a/src/render/dust.cc b/src/render/dust.cc index cb48137..f84460d 100644 --- a/src/render/dust.cc +++ b/src/render/dust.cc @@ -112,8 +112,7 @@ void Dust::draw(math::Color const &dustcolor) math::Color color(dustcolor); alpha = math::max(core::localcontrol()->movement(), core::localcontrol()->speed() * 0.5f); math::clamp(alpha, 0.0f, 1.0f); - alpha = 0.1f + alpha * 0.5f; - color.a = alpha; + color.a = 0.25f * alpha; gl::begin(gl::Lines); gl::color(color); -- cgit v1.2.3