space
This commit is contained in:
@@ -146,7 +146,7 @@ public class Effect{
|
||||
if(headless || region == null || !Core.atlas.isFound(region)) return;
|
||||
|
||||
Tile tile = world.tileWorld(x, y);
|
||||
if(tile == null || tile.floor().isLiquid) return;
|
||||
if(tile == null || !tile.floor().hasSurface()) return;
|
||||
|
||||
Decal decal = Decal.create();
|
||||
decal.set(x, y);
|
||||
|
||||
@@ -197,13 +197,14 @@ public class Shaders{
|
||||
}
|
||||
}
|
||||
|
||||
//seed: 8kmfuix03fw
|
||||
public static class SpaceShader extends SurfaceShader{
|
||||
Texture texture;
|
||||
|
||||
public SpaceShader(String frag){
|
||||
super(frag);
|
||||
|
||||
Core.assets.load("cubemaps/stars/bottom.png", Texture.class).loaded = t -> {
|
||||
Core.assets.load("sprites/space.png", Texture.class).loaded = t -> {
|
||||
texture = (Texture)t;
|
||||
texture.setFilter(TextureFilter.linear);
|
||||
texture.setWrap(TextureWrap.mirroredRepeat);
|
||||
|
||||
@@ -23,10 +23,6 @@ public class PlanetRenderer implements Disposable{
|
||||
shadowColor = new Color(0, 0, 0, 0.7f);
|
||||
|
||||
private static final Seq<Vec3> points = new Seq<>();
|
||||
private static final PlanetInterfaceRenderer emptyRenderer = new PlanetInterfaceRenderer(){
|
||||
@Override public void renderSectors(Planet planet){}
|
||||
@Override public void renderProjections(){}
|
||||
};
|
||||
|
||||
/** Camera direction relative to the planet. Length is determined by zoom. */
|
||||
public final Vec3 camPos = new Vec3();
|
||||
|
||||
@@ -175,7 +175,6 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if(launchSector != null){
|
||||
|
||||
Reference in New Issue
Block a user