7 lines
135 B
WebGPU Shading Language
7 lines
135 B
WebGPU Shading Language
|
[[stage(vertex)]]
|
||
|
fn main() {
|
||
|
var light : vec3<f32> = vec3<f32>(1.2, 1., 2.);
|
||
|
var negative_light : vec3<f32> = -light;
|
||
|
return;
|
||
|
}
|