16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 20:19:18 +02:00

renderer changes, temporary revert shaders for traction because of lack of texless shader

This commit is contained in:
VB
2017-07-03 20:29:34 +02:00
parent b3c2b60b97
commit 0574b3f758
4 changed files with 28 additions and 18 deletions

View File

@@ -476,10 +476,11 @@ TTraction::wire_color() const {
}
default: {break; }
}
color *= 0.2;
// w zaleźności od koloru swiatła
color.r *= Global::daylight.ambient.x;
color.g *= Global::daylight.ambient.y;
color.b *= Global::daylight.ambient.z;
//color.r *= Global::daylight.ambient.x;
//color.g *= Global::daylight.ambient.y;
//color.b *= Global::daylight.ambient.z;
}
else {
// tymczasowo pokazanie zasilanych odcinków