Implement PBR

This commit is contained in:
reo 2025-09-26 16:49:36 +03:00
parent f34a9b01a0
commit 3503fc15d2
14 changed files with 659 additions and 10 deletions

View file

@ -15,3 +15,10 @@ impl Transform {
}
pub struct ModelHandle(pub ModelID);
#[derive(Copy, Clone)]
pub struct PointLight {
pub color: Vec3,
pub intensity: f32,
pub range: f32,
}