Reverse traffic direction on dual-lane roads in ALS traffic shader
This commit is contained in:
parent
52884c7f12
commit
54f08d8891
1 changed files with 2 additions and 0 deletions
|
@ -349,6 +349,8 @@ void main (void)
|
|||
else {cOffset = 5.0;}
|
||||
}
|
||||
|
||||
if (rtype_dual_lane == 1) {cSign = -1.0;}
|
||||
|
||||
cSign *= road_traffic_direction;
|
||||
|
||||
float total_traffic_density = road_traffic_density * rtype_traffic_density;
|
||||
|
|
Loading…
Reference in a new issue