#include <cmath>
#include "sky.h"
#include <ITexture.h>
#include <IVideoDriver.h>
#include <ISceneManager.h>
#include <ICameraSceneNode.h>
#include <S3DVertex.h>
#include "client/mesh.h"
#include "client/tile.h"
#include "noise.h"
#include "profiler.h"
#include "util/numeric.h"
#include "client/renderingengine.h"
#include "client/texturesource.h"
#include "settings.h"
#include "camera.h"
Functions | |
static video::SMaterial | baseMaterial () |
static void | disableTextureFiltering (video::SMaterial &mat) |
static v3f | getSkyBodyPosition (float horizon_position, float day_position, float orbit_tilt) |
float | getWickedTimeOfDay (float time_of_day) |
|
static |
Referenced by Sky::Sky(), Sky::addTextureToSkybox(), Sky::setMoonTexture(), and Sky::setSunTexture().
|
inlinestatic |
Referenced by Sky::setMoonTexture(), and Sky::setSunTexture().
|
static |
Referenced by Sky::getMoonDirection(), Sky::getSunDirection(), and Sky::place_sky_body().
float getWickedTimeOfDay | ( | float | time_of_day | ) |
Referenced by Sky::getMoonDirection(), Sky::getSunDirection(), Sky::render(), and Game::updateShadows().