protected static ColorGradient buildFireGradient() { ColorGradient gradient = ColorGradient.buildFire(); gradient.add(RGBAColor.black()); gradient.add(RGBAColor.black()); gradient.add(RGBAColor.black()); gradient.add(RGBAColor.black()); return gradient; }
public SunsetTexture() { gradient = new ColorGradient(); gradient .add(new RGBAColor(16, 32, 64)) .add(new RGBAColor(32, 64, 128)) .add(new RGBAColor(128, 160, 255)) .add(new RGBAColor(192, 210, 255)) .add(new RGBAColor(250, 240, 192)); }