#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"
Include dependency graph for sky.cpp:Functions | |
| static video::SMaterial | baseMaterial () |
| static void | disableTextureFiltering (video::SMaterial &mat) |
| static v3f | getSkyBodyPosition (float horizon_position, float day_position, float orbit_tilt) |
| static void | getTextureAsImage (video::IImage *&dst, const std::string &name, ITextureSource *tsrc) |
| float | getWickedTimeOfDay (float time_of_day) |
|
static |
Referenced by Sky::Sky(), Sky::addTextureToSkybox(), Sky::setMoonTexture(), and Sky::setSunTexture().
Here is the caller graph for this function:
|
inlinestatic |
Referenced by Sky::setMoonTexture(), and Sky::setSunTexture().
Here is the caller graph for this function:
|
static |
Referenced by Sky::getMoonDirection(), and Sky::getSunDirection().
Here is the caller graph for this function:
|
static |
References RenderingEngine::get_video_driver(), ITextureSource::getTexture(), and ITextureSource::isKnownSourceImage().
Referenced by Sky::setMoonTexture(), and Sky::setSunTexture().
Here is the call graph for this function:
Here is the caller graph for this function:| float getWickedTimeOfDay | ( | float | time_of_day | ) |
Referenced by Sky::getMoonDirection(), Sky::getSunDirection(), Sky::render(), and Game::updateShadows().
Here is the caller graph for this function: