mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-10-24 20:21:52 +02:00
refactor(track): the ballast fades into that of the tracks joined, as the rails do
This commit is contained in:
@@ -230,7 +230,7 @@ blending setup( TTrack const &Track, kind const Kind ) {
|
||||
return {};
|
||||
}
|
||||
auto const own { material_of( Track, Kind, 0 ) };
|
||||
auto const material { GfxRenderer->Blend_Material( own, others, Kind == kind::ballast ) };
|
||||
auto const material { GfxRenderer->Blend_Material( own, others ) };
|
||||
if( material == own ) {
|
||||
// the renderer can't blend them
|
||||
return {};
|
||||
|
||||
Reference in New Issue
Block a user