Create a WorldEnvironment node, set property Background - Sky - Sky Material = PanoramaSkyMaterial
Then set property PanoramaSkyMaterial - panorama = GradientTexture2D, set your custom gradient, finished.
As for stars, i think you can draw some animated sprites, then place several animated sprites on high pos with billboard shader.
Version: v4.0.rc2.official [d2699dc7a]
