webgpu triangle
This commit is contained in:
parent
64116cd980
commit
5553ded476
22 changed files with 2107 additions and 42 deletions
5
examples/VulkanTriangle/miss.wgsl
Normal file
5
examples/VulkanTriangle/miss.wgsl
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// WebGPU port of miss.glsl.
|
||||
|
||||
fn miss_main(ray: RayDesc, payload: ptr<function, Payload>) {
|
||||
(*payload).color = vec3<f32>(1.0, 1.0, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue