|
From: Peque <ms...@us...> - 2009-12-02 01:12:00
|
Module: performous
Branch: menu
Commit: d542e2ec073acde323985b1f7259a644be8df1d4
Author: Tapio Vierros <tap...@gm...>
Date: Sat Nov 28 14:04:58 2009 +0200
Make 3d tappable note state a bit clearer.
---
game/guitargraph.cc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/game/guitargraph.cc b/game/guitargraph.cc
index 1499eab..9f19f97 100644
--- a/game/guitargraph.cc
+++ b/game/guitargraph.cc
@@ -517,12 +517,11 @@ void GuitarGraph::drawNote(int fret, glutil::Color c, float tBeg, float tEnd, fl
}
}
if (tappable) {
- float l = std::max(0.5, m_correctness.get());
+ float l = std::max(0.3, m_correctness.get());
if (m_use3d) {
glColor3f(l, l, l);
m_tappableObj.draw(x, yBeg, 0.0f);
} else {
- l = l * 2.0 - 1.0; // Full black to white range to overcome ambient lighting or something
glColor3f(l, l, l);
m_tap.dimensions.center(yBeg).middle(x);
m_tap.draw();
|