examples: add ported two-cubes example (#228)

This commit is contained in:
PiergiorgioZagaria 2022-04-17 23:31:52 +02:00 committed by GitHub
parent f96bbb453e
commit 3fb59a1e34
Failed to generate hash of commit
6 changed files with 324 additions and 0 deletions

6
examples/two-cubes/frag.wgsl Executable file
View file

@ -0,0 +1,6 @@
@stage(fragment) fn main(
@location(0) fragUV: vec2<f32>,
@location(1) fragPosition: vec4<f32>
) -> @location(0) vec4<f32> {
return fragPosition;
}