I waste several hours
This commit is contained in:
@@ -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{}
|
||||
|
||||
Reference in New Issue
Block a user