Page 1 of 1

Usage of shader vehicle track ammo for multiple turrets

Posted: Sun Jul 31, 2022 3:40 pm
by ParadoxicHF
I have applied the aninated bullet track to multiple turrets in my vehicle but only 2 seem to work any tutorial on how to use this shader

Re: Usage of shader vehicle track ammo for multiple turrets

Posted: Tue Aug 02, 2022 8:27 am
by Oleg
does this relate to the working/non-working turrets be located on left/right vehicle's side? There is an issue with uv-animated shaders (vehicle_track, vehicle_track2, vehicle_track_emissive, etc.) These shaders animate UV on the left side of vehicle only (where X is positive).

There was a solution video posted on this subject showing engine's timing belt. The idea was to move object's local axes aside and mirror axes on X axis. Such an object will be on X-positive side, but the game will mirror axes and geometry again and the object will appear on a proper place in game with UV animated over the whole object properly.

Edit:
Here's this video:
https://www.youtube.com/watch?v=5to7OEGBek4

Re: Usage of shader vehicle track ammo for multiple turrets

Posted: Tue Mar 07, 2023 11:22 pm
by ParadoxicHF
i think that is the problem since i have 2 front turrets and 2 side turrets

Re: Usage of shader vehicle track ammo for multiple turrets

Posted: Wed Mar 08, 2023 9:24 am
by Oleg
I don't know how the "_track" and "_track2" shaders work, but I think every material on this shader is in sync across the model. So I guess you can't have two independent _track materials that animate out of sync.