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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user