I waste several hours

This commit is contained in:
Anuken
2022-02-11 11:33:06 -05:00
parent fcb4c232e8
commit 4a216056d0
14 changed files with 334 additions and 24 deletions

View File

@@ -21,6 +21,7 @@ public class Shaders{
public static UnitBuildShader build;
public static UnitArmorShader armor;
public static DarknessShader darkness;
public static FogShader fog;
public static LightShader light;
public static SurfaceShader water, mud, tar, slag, cryofluid, space, caustics, arkycite;
public static PlanetShader planet;
@@ -41,6 +42,7 @@ public class Shaders{
shield = null;
t.printStackTrace();
}
fog = new FogShader();
buildBeam = new BuildBeamShader();
build = new UnitBuildShader();
armor = new UnitArmorShader();
@@ -178,6 +180,12 @@ public class Shaders{
}
}
public static class FogShader extends LoadShader{
public FogShader(){
super("fog", "default");
}
}
/** @deprecated transition class for mods; use UnitBuildShader instead. */
@Deprecated
public static class UnitBuild extends UnitBuildShader{}