调整武器HUD未选中时的透明度
This commit is contained in:
parent
2cd30a58a5
commit
2bf124d3ce
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ mod_id=superbwarfare
|
||||||
mod_name=Superb Warfare
|
mod_name=Superb Warfare
|
||||||
mod_license=GNU General Public License v3.0
|
mod_license=GNU General Public License v3.0
|
||||||
mod_description=A Warfare Mod
|
mod_description=A Warfare Mod
|
||||||
mod_version=0.6.0
|
mod_version=0.6.1
|
||||||
mod_authors=Atsuishio, Roki27, Light_Quanta
|
mod_authors=Atsuishio, Roki27, Light_Quanta
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
|
|
|
@ -518,7 +518,7 @@ public class VehicleHudOverlay {
|
||||||
if (weaponIndex != i) {
|
if (weaponIndex != i) {
|
||||||
// 未选中
|
// 未选中
|
||||||
RenderSystem.setShaderColor(1, 1, 1,
|
RenderSystem.setShaderColor(1, 1, 1,
|
||||||
Mth.lerp(progress, 1, 0.2f)
|
Mth.lerp(progress, 1, 0.5f)
|
||||||
);
|
);
|
||||||
startXDiff = Mth.lerp(progress, 0, xDiff);
|
startXDiff = Mth.lerp(progress, 0, xDiff);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue