Hello studied here and the engine is not by chance, a great procedure for the establishment of the sky. So far, no atmosphere, but you can supplement it. And so we look:
void CreateSky(str skyname)
{
TMesh skybox;
skybox=CreateCube();
FlipMesh(skybox);
PaintEntity(skybox,LoadMaterial(skyname));
//Note: You must specify the size as much as possible. Depending on the size of your card.
ScaleEntity(skybox,Vec3(1000,1000,1000));
}
Note: If you use a function where blendalpha to complete it should be disabled.
Example:
SetBlend(BLEND_ALPHA);
DrawText('TestText',4,4);
SetBlend(0);