2021-06-10 18:49:14 +00:00
|
|
|
struct Light {
|
2022-03-28 14:31:22 +00:00
|
|
|
position : vec3<f32>,
|
|
|
|
colour : vec3<f32>,
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2021-06-10 18:49:14 +00:00
|
|
|
|
|
|
|
struct Lights {
|
2022-03-28 14:31:22 +00:00
|
|
|
light : array<Light>,
|
2022-01-19 18:11:17 +00:00
|
|
|
}
|
2021-06-10 18:49:14 +00:00
|
|
|
|
2022-01-19 22:46:57 +00:00
|
|
|
@group(0) @binding(1) var<storage, read> lights : Lights;
|