Module veloren_voxygen::scene
source · Re-exports
pub use self::camera::Camera;
pub use self::camera::CameraMode;
pub use self::debug::Debug;
pub use self::debug::DebugShape;
pub use self::debug::DebugShapeId;
pub use self::figure::FigureMgr;
pub use self::lod::Lod;
pub use self::particle::ParticleMgr;
pub use self::terrain::SpriteRenderContextLazy;
pub use self::terrain::Terrain;
pub use self::trail::TrailMgr;
Modules
Structs
- Skybox 🔒
Constants
- DAY 🔒
- The minimum sin γ we will use before switching to uniform mapping.
- The threashold for starting calculations with rain.
- Above this speed is considered running Used for first person camera effects
Statics
Functions
- Approximate a scalar field of view angle using the parameterization from section 4.3 of Lloyd’s thesis:
- Compute a near-optimal warping parameter that helps minimize error in a shadow map.
- Compute a near-optimal warping parameter that falls off quickly enough when the warp angle goes past the minimum field of view angle, for perspective projections.
Type Definitions
- is_daylight, array of active lights.