Rebel Fork Framework
Light.h File Reference
#include "../Math/Color.h"
#include "../Graphics/Drawable.h"
#include "../Math/Frustum.h"
#include "../Graphics/Texture.h"

Classes

struct  Urho3D::BiasParameters
 Depth bias parameters. Used both by lights (for shadow mapping) and materials. More...
 
struct  Urho3D::CascadeParameters
 
struct  Urho3D::FocusParameters
 
class  Urho3D::Light
 Light component. More...
 

Enumerations

enum  Urho3D::LightMode { LM_REALTIME, LM_MIXED, LM_BAKED }
 Light baking mode.
 
enum  Urho3D::LightType { LIGHT_DIRECTIONAL = 0, LIGHT_SPOT, LIGHT_POINT }
 Light types.
 
enum  Urho3D::LightImportance { LI_AUTO, LI_IMPORTANT, LI_NOT_IMPORTANT }
 Light importance.
 

Variables

static const float Urho3D::SHADOW_MIN_QUANTIZE = 0.1f
 
static const float Urho3D::SHADOW_MIN_VIEW = 1.0f
 
static const int Urho3D::MAX_LIGHT_SPLITS = 6
 
static const unsigned Urho3D::MAX_CASCADE_SPLITS = 4
 
static const LightType Urho3D::DEFAULT_LIGHTTYPE = LIGHT_POINT
 
static const LightImportance Urho3D::DEFAULT_LIGHTIMPORTANCE = LI_AUTO
 
static const float Urho3D::DEFAULT_RANGE = 10.0f
 
static const float Urho3D::DEFAULT_LIGHT_FOV = 30.0f
 
static const float Urho3D::DEFAULT_SPECULARINTENSITY = 1.0f
 
static const float Urho3D::DEFAULT_BRIGHTNESS = 1.0f
 
static const float Urho3D::DEFAULT_CONSTANTBIAS = 0.0002f
 
static const float Urho3D::DEFAULT_SLOPESCALEDBIAS = 0.5f
 
static const float Urho3D::DEFAULT_NORMALOFFSET = 0.0f
 
static const float Urho3D::DEFAULT_BIASAUTOADJUST = 1.0f
 
static const float Urho3D::DEFAULT_SHADOWFADESTART = 0.8f
 
static const float Urho3D::DEFAULT_SHADOWQUANTIZE = 0.5f
 
static const float Urho3D::DEFAULT_SHADOWMINVIEW = 3.0f
 
static const float Urho3D::DEFAULT_SHADOWNEARFARRATIO = 0.002f
 
static const float Urho3D::DEFAULT_SHADOWMAXEXTRUSION = 1000.0f
 
static const float Urho3D::DEFAULT_SHADOWSPLIT = 1000.0f
 
static const float Urho3D::DEFAULT_TEMPERATURE = 6590.0f