This commit is contained in:
Anuken
2020-10-08 15:14:28 -04:00
parent 2c905cdbf1
commit c7f1204119
7 changed files with 6 additions and 9 deletions

View File

@@ -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);