prior normal check for lights
This commit is contained in:
parent
f3098d8061
commit
e3829a73e4
4 changed files with 80 additions and 8 deletions
src/scene
|
@ -58,8 +58,8 @@ pub fn generate_test_scene(scene: &mut Scene, data: &mut AppData) -> Result<(Poi
|
|||
pos: vec3(10.0, 10.0, 10.0),
|
||||
color: vec3(0.0, 0.0, 0.9),
|
||||
tex_coord: vec2(0.0, 0.0),
|
||||
transparent: true,
|
||||
roughness: 32,
|
||||
transparent: false,
|
||||
roughness: 128,
|
||||
};
|
||||
oct_tree1.set_cube(cube.clone());
|
||||
|
||||
|
@ -67,8 +67,8 @@ pub fn generate_test_scene(scene: &mut Scene, data: &mut AppData) -> Result<(Poi
|
|||
pos: vec3(10.0, 10.0, 9.0),
|
||||
color: vec3(0.0, 0.0, 0.9),
|
||||
tex_coord: vec2(0.0, 0.0),
|
||||
transparent: true,
|
||||
roughness: 32,
|
||||
transparent: false,
|
||||
roughness: 128,
|
||||
};
|
||||
oct_tree1.set_cube(cube.clone());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue