sampling in random hemisphere

This commit is contained in:
Piotrek
2021-04-25 13:50:39 +02:00
parent 8585f21c70
commit 9718ea68dd
7 changed files with 57 additions and 25 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ pub struct UniformValues {
cam_pos: [f32; 3],
padding: f32,
sun_dir: [f32; 3],
padding2: f32,
//padding2: f32,
time: f32
}