Implement HDRI skybox support

This commit is contained in:
reo 2025-09-26 22:44:43 +03:00
parent 44489f9fe3
commit 1e9b997aeb
12 changed files with 282 additions and 17 deletions

View file

@ -7,6 +7,7 @@ use glium::glutin::surface::WindowSurface;
use raidillon_assets::ModelManagerRef;
use raidillon_core::DebugUIBuffer;
use raidillon_core::scene::Scene;
use glam::Vec3;
pub struct RenderingContext<'a> {
pub scene: &'a Scene,
@ -14,6 +15,7 @@ pub struct RenderingContext<'a> {
pub window: &'a mut glium::winit::window::Window,
pub asset_manager: ModelManagerRef,
pub debug_ui_buffer: Rc<RefCell<DebugUIBuffer>>,
pub env_light_dir: Vec3,
}
/// The internal "rendering system" trait of glium_platform.