Implement PBR
This commit is contained in:
parent
f34a9b01a0
commit
3503fc15d2
14 changed files with 659 additions and 10 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue