Unravel Engine C++ Reference
Loading...
Searching...
No Matches
light.h File Reference
#include <engine/engine_export.h>
#include <cstdint>
#include <math/math.h>

Go to the source code of this file.

Classes

struct  unravel::light
 Struct representing a light. More...
 
struct  unravel::light::spot
 Struct representing spot light specific properties. More...
 
struct  unravel::light::point
 Struct representing point light specific properties. More...
 
struct  unravel::light::directional
 Struct representing directional light specific properties. More...
 
struct  unravel::light::shadowmap_params
 Struct representing common shadow map parameters. More...
 
struct  unravel::light::directional_shadowmap_params
 
struct  unravel::light::point_shadowmap_params
 
struct  unravel::light::spot_shadowmap_params
 

Namespaces

namespace  unravel
 

Enumerations

enum class  unravel::light_type : uint8_t { unravel::spot = 0 , unravel::point = 1 , unravel::directional = 2 , unravel::count }
 Enum representing the type of light. More...
 
enum class  unravel::sm_depth : uint8_t { unravel::invz = 0 , unravel::linear = 1 , unravel::count }
 Enum representing the depth method for shadow mapping. More...
 
enum class  unravel::pack_depth : uint8_t { unravel::rgba = 0 , unravel::vsm = 1 , unravel::count }
 Enum representing the packing method for depth in shadow mapping. More...
 
enum class  unravel::sm_impl : uint8_t {
  unravel::hard = 0 , unravel::pcf = 1 , unravel::pcss = 2 , unravel::vsm = 3 ,
  unravel::esm = 4 , unravel::count
}
 Enum representing the implementation type for shadow mapping. More...
 
enum class  unravel::sm_type : uint8_t { unravel::single = 0 , unravel::omni = 1 , unravel::cascade = 2 , unravel::count }
 Enum representing the type of shadow map. More...
 
enum class  unravel::sm_resolution : uint8_t {
  unravel::low , unravel::medium , unravel::high , unravel::very_high ,
  unravel::count
}
 Enum representing the resolution of shadow maps. More...