├── .gitignore ├── README.md ├── drawio ├── ortho.drawio ├── webgpu工作流.drawio ├── 渲染管线.drawio └── 着色器传参.drawio ├── proj1_gameOfLife ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── gpuBuffer.ts │ │ └── init.ts │ ├── main.ts │ ├── shader │ │ ├── compute.wgsl │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── proj2_firework ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── gpuBuffer.ts │ │ └── init.ts │ ├── main.ts │ ├── shader │ │ ├── compute.wgsl │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── proj2_firework_2 ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── gpuBuffer.ts │ │ └── init.ts │ ├── main.ts │ ├── shader │ │ ├── compute.wgsl │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── proj3_imageBlur ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── zs.png ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── gpuBuffer.ts │ │ └── init.ts │ ├── main.ts │ ├── shader │ │ ├── compute.wgsl │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── proj3_imageBlur_Gaussian ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── zs.png ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── gpuBuffer.ts │ │ └── init.ts │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── proj4_galaxy ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── color.ts │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ └── math.ts │ ├── main.ts │ ├── shader │ │ ├── compute.wgsl │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol0_triangle ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol10_renderBundles ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ ├── moon.jpg │ └── saturn.jpg ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── color.ts │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ ├── sphere.ts │ │ └── texture.ts │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol11_glb ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ ├── Buggy.glb │ └── DamagedHelmet.glb ├── src │ ├── components │ │ ├── Camera.ts │ │ └── InputManager.ts │ ├── glb │ │ ├── glb_accessor.ts │ │ ├── glb_main.ts │ │ ├── glb_material.ts │ │ ├── glb_mesh.ts │ │ ├── glb_model.ts │ │ ├── glb_node.ts │ │ ├── glb_primitive.ts │ │ ├── glb_sampler.ts │ │ ├── glb_shader_cache.ts │ │ ├── glb_texture.ts │ │ ├── glb_tool.ts │ │ └── glb_viewbuffer.ts │ ├── main.ts │ ├── style.css │ └── types │ │ ├── glb.d.ts │ │ └── index.d.ts ├── tsconfig.json └── vite.config.js ├── vol11_glb_simple ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ ├── Buggy.glb │ └── DamagedHelmet.glb ├── src │ ├── components │ │ ├── Camera.ts │ │ └── InputManager.ts │ ├── glb │ │ ├── glb_accessor.ts │ │ ├── glb_main.ts │ │ ├── glb_mesh.ts │ │ ├── glb_model.ts │ │ ├── glb_node.ts │ │ ├── glb_primitive.ts │ │ ├── glb_tool.ts │ │ └── glb_viewbuffer.ts │ ├── main.ts │ ├── shader │ │ └── glb.wgsl │ ├── style.css │ └── types │ │ ├── glb.d.ts │ │ └── index.d.ts ├── tsconfig.json └── vite.config.js ├── vol1_oneCube ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── ortho.svg ├── src │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol1_oneCube_MSAA ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol1_oneCube_canvas_textureSampling ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol1_oneCube_image_textureSampling ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── zs.png ├── src │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol1_oneCube_indexBuffer ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol1_oneCube_video_textureSampling ├── .gitignore ├── README.md ├── index.html ├── package.json ├── pnpm-lock.yaml ├── public │ └── 1.mp4 ├── src │ ├── helper │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol2_twoCubes ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol2_twoCubes_MSAA ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol3_sphere_wireFrame ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── sphereFrag.wgsl │ │ └── sphereVert.wgsl │ └── style.css └── tsconfig.json ├── vol4_oneCube_light_mv+p ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol4_oneCube_light_vp+m ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ └── vertexData.ts │ ├── main.ts │ ├── shader │ │ ├── cubeFrag.wgsl │ │ └── cubeVert.wgsl │ └── style.css └── tsconfig.json ├── vol5_objects_light ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── box.ts │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ └── sphere.ts │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol5_objects_light_layout ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── box.ts │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ ├── math.ts │ │ └── sphere.ts │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol6_shadowMapping ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── box.ts │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ └── math.ts │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol6_shadowMapping_two_lights ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── box.ts │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ └── math.ts │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol7_computeShader ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── box.ts │ │ ├── gpuBuffer.ts │ │ ├── init.ts │ │ └── math.ts │ ├── main.ts │ ├── shader │ │ ├── compute.wgsl │ │ ├── frag.wgsl │ │ └── vert.wgsl │ └── style.css └── tsconfig.json ├── vol8_worker ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── helper │ │ ├── bindGroup.ts │ │ ├── cube.ts │ │ ├── gpuBuffer.ts │ │ └── math.ts │ ├── main.ts │ ├── shader │ │ ├── frag.wgsl │ │ └── vert.wgsl │ ├── style.css │ └── worker.ts └── tsconfig.json ├── vol8_worker_axes ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── components │ │ ├── Axes.ts │ │ ├── Camera.ts │ │ ├── Cube.ts │ │ └── shader │ │ │ ├── axes.frag.wgsl │ │ │ ├── axes.vert.wgsl │ │ │ ├── frag.wgsl │ │ │ └── vert.wgsl │ ├── helper │ │ ├── bindGroup.ts │ │ └── gpuBuffer.ts │ ├── main.ts │ ├── style.css │ └── worker.ts └── tsconfig.json ├── vol9_camera_control ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src │ ├── components │ │ ├── Axes.ts │ │ ├── Camera.ts │ │ ├── Cube.ts │ │ ├── GPUManager.ts │ │ ├── InputManager.ts │ │ ├── RenderableObject.ts │ │ ├── Scene.ts │ │ └── shader │ │ │ ├── axes.frag.wgsl │ │ │ ├── axes.vert.wgsl │ │ │ ├── cube.frag.wgsl │ │ │ └── cube.vert.wgsl │ ├── helper │ │ ├── bindGroup.ts │ │ ├── gpuBuffer.ts │ │ └── init.ts │ ├── main.ts │ ├── math │ │ └── quaternion.ts │ └── style.css └── tsconfig.json └── vol9_camera_control_simple ├── .gitignore ├── index.html ├── package.json ├── pnpm-lock.yaml ├── src ├── components │ ├── Axes.ts │ ├── Camera.ts │ ├── CameraController.ts │ ├── Cube.ts │ ├── GPUManager.ts │ ├── RenderableObject.ts │ ├── Scene.ts │ └── shader │ │ ├── axes.frag.wgsl │ │ ├── axes.vert.wgsl │ │ ├── cube.frag.wgsl │ │ └── cube.vert.wgsl ├── helper │ ├── bindGroup.ts │ ├── gpuBuffer.ts │ └── init.ts ├── main.ts ├── math │ └── quaternion.ts └── style.css └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/README.md -------------------------------------------------------------------------------- /drawio/ortho.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/drawio/ortho.drawio -------------------------------------------------------------------------------- /drawio/webgpu工作流.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/drawio/webgpu工作流.drawio -------------------------------------------------------------------------------- /drawio/渲染管线.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/drawio/渲染管线.drawio -------------------------------------------------------------------------------- /drawio/着色器传参.drawio: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/drawio/着色器传参.drawio -------------------------------------------------------------------------------- /proj1_gameOfLife/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/.gitignore -------------------------------------------------------------------------------- /proj1_gameOfLife/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/index.html -------------------------------------------------------------------------------- /proj1_gameOfLife/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/package.json -------------------------------------------------------------------------------- /proj1_gameOfLife/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/pnpm-lock.yaml -------------------------------------------------------------------------------- /proj1_gameOfLife/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /proj1_gameOfLife/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /proj1_gameOfLife/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/helper/init.ts -------------------------------------------------------------------------------- /proj1_gameOfLife/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/main.ts -------------------------------------------------------------------------------- /proj1_gameOfLife/src/shader/compute.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/shader/compute.wgsl -------------------------------------------------------------------------------- /proj1_gameOfLife/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/shader/frag.wgsl -------------------------------------------------------------------------------- /proj1_gameOfLife/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/shader/vert.wgsl -------------------------------------------------------------------------------- /proj1_gameOfLife/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/src/style.css -------------------------------------------------------------------------------- /proj1_gameOfLife/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj1_gameOfLife/tsconfig.json -------------------------------------------------------------------------------- /proj2_firework/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/.gitignore -------------------------------------------------------------------------------- /proj2_firework/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/README.md -------------------------------------------------------------------------------- /proj2_firework/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/index.html -------------------------------------------------------------------------------- /proj2_firework/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/package.json -------------------------------------------------------------------------------- /proj2_firework/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/pnpm-lock.yaml -------------------------------------------------------------------------------- /proj2_firework/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /proj2_firework/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /proj2_firework/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/helper/init.ts -------------------------------------------------------------------------------- /proj2_firework/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/main.ts -------------------------------------------------------------------------------- /proj2_firework/src/shader/compute.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/shader/compute.wgsl -------------------------------------------------------------------------------- /proj2_firework/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/shader/frag.wgsl -------------------------------------------------------------------------------- /proj2_firework/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/shader/vert.wgsl -------------------------------------------------------------------------------- /proj2_firework/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/src/style.css -------------------------------------------------------------------------------- /proj2_firework/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework/tsconfig.json -------------------------------------------------------------------------------- /proj2_firework_2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/.gitignore -------------------------------------------------------------------------------- /proj2_firework_2/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/index.html -------------------------------------------------------------------------------- /proj2_firework_2/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/package.json -------------------------------------------------------------------------------- /proj2_firework_2/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/pnpm-lock.yaml -------------------------------------------------------------------------------- /proj2_firework_2/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /proj2_firework_2/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /proj2_firework_2/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/helper/init.ts -------------------------------------------------------------------------------- /proj2_firework_2/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/main.ts -------------------------------------------------------------------------------- /proj2_firework_2/src/shader/compute.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/shader/compute.wgsl -------------------------------------------------------------------------------- /proj2_firework_2/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/shader/frag.wgsl -------------------------------------------------------------------------------- /proj2_firework_2/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/shader/vert.wgsl -------------------------------------------------------------------------------- /proj2_firework_2/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/src/style.css -------------------------------------------------------------------------------- /proj2_firework_2/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj2_firework_2/tsconfig.json -------------------------------------------------------------------------------- /proj3_imageBlur/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/.gitignore -------------------------------------------------------------------------------- /proj3_imageBlur/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/README.md -------------------------------------------------------------------------------- /proj3_imageBlur/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/index.html -------------------------------------------------------------------------------- /proj3_imageBlur/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/package.json -------------------------------------------------------------------------------- /proj3_imageBlur/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/pnpm-lock.yaml -------------------------------------------------------------------------------- /proj3_imageBlur/public/zs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/public/zs.png -------------------------------------------------------------------------------- /proj3_imageBlur/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /proj3_imageBlur/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /proj3_imageBlur/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/helper/init.ts -------------------------------------------------------------------------------- /proj3_imageBlur/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/main.ts -------------------------------------------------------------------------------- /proj3_imageBlur/src/shader/compute.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/shader/compute.wgsl -------------------------------------------------------------------------------- /proj3_imageBlur/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/shader/frag.wgsl -------------------------------------------------------------------------------- /proj3_imageBlur/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/shader/vert.wgsl -------------------------------------------------------------------------------- /proj3_imageBlur/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/src/style.css -------------------------------------------------------------------------------- /proj3_imageBlur/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur/tsconfig.json -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/.gitignore -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/README.md -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/index.html -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/package.json -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/pnpm-lock.yaml -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/public/zs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/public/zs.png -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/src/helper/init.ts -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/src/main.ts -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/src/shader/frag.wgsl -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/src/shader/vert.wgsl -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/src/style.css -------------------------------------------------------------------------------- /proj3_imageBlur_Gaussian/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj3_imageBlur_Gaussian/tsconfig.json -------------------------------------------------------------------------------- /proj4_galaxy/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/.gitignore -------------------------------------------------------------------------------- /proj4_galaxy/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/README.md -------------------------------------------------------------------------------- /proj4_galaxy/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/index.html -------------------------------------------------------------------------------- /proj4_galaxy/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/package.json -------------------------------------------------------------------------------- /proj4_galaxy/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/pnpm-lock.yaml -------------------------------------------------------------------------------- /proj4_galaxy/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /proj4_galaxy/src/helper/color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/helper/color.ts -------------------------------------------------------------------------------- /proj4_galaxy/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /proj4_galaxy/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/helper/init.ts -------------------------------------------------------------------------------- /proj4_galaxy/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/helper/math.ts -------------------------------------------------------------------------------- /proj4_galaxy/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/main.ts -------------------------------------------------------------------------------- /proj4_galaxy/src/shader/compute.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/shader/compute.wgsl -------------------------------------------------------------------------------- /proj4_galaxy/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/shader/frag.wgsl -------------------------------------------------------------------------------- /proj4_galaxy/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/shader/vert.wgsl -------------------------------------------------------------------------------- /proj4_galaxy/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/src/style.css -------------------------------------------------------------------------------- /proj4_galaxy/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/proj4_galaxy/tsconfig.json -------------------------------------------------------------------------------- /vol0_triangle/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/.gitignore -------------------------------------------------------------------------------- /vol0_triangle/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/index.html -------------------------------------------------------------------------------- /vol0_triangle/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/package.json -------------------------------------------------------------------------------- /vol0_triangle/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol0_triangle/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/src/main.ts -------------------------------------------------------------------------------- /vol0_triangle/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol0_triangle/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol0_triangle/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/src/style.css -------------------------------------------------------------------------------- /vol0_triangle/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol0_triangle/tsconfig.json -------------------------------------------------------------------------------- /vol10_renderBundles/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/.gitignore -------------------------------------------------------------------------------- /vol10_renderBundles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/README.md -------------------------------------------------------------------------------- /vol10_renderBundles/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/index.html -------------------------------------------------------------------------------- /vol10_renderBundles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/package.json -------------------------------------------------------------------------------- /vol10_renderBundles/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol10_renderBundles/public/moon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/public/moon.jpg -------------------------------------------------------------------------------- /vol10_renderBundles/public/saturn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/public/saturn.jpg -------------------------------------------------------------------------------- /vol10_renderBundles/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/helper/color.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/helper/color.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/helper/init.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/helper/math.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/helper/sphere.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/helper/sphere.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/helper/texture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/helper/texture.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/main.ts -------------------------------------------------------------------------------- /vol10_renderBundles/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol10_renderBundles/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol10_renderBundles/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/src/style.css -------------------------------------------------------------------------------- /vol10_renderBundles/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol10_renderBundles/tsconfig.json -------------------------------------------------------------------------------- /vol11_glb/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/.gitignore -------------------------------------------------------------------------------- /vol11_glb/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/README.md -------------------------------------------------------------------------------- /vol11_glb/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/index.html -------------------------------------------------------------------------------- /vol11_glb/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/package.json -------------------------------------------------------------------------------- /vol11_glb/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol11_glb/public/Buggy.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/public/Buggy.glb -------------------------------------------------------------------------------- /vol11_glb/public/DamagedHelmet.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/public/DamagedHelmet.glb -------------------------------------------------------------------------------- /vol11_glb/src/components/Camera.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/components/Camera.ts -------------------------------------------------------------------------------- /vol11_glb/src/components/InputManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/components/InputManager.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_accessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_accessor.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_main.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_material.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_material.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_mesh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_mesh.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_model.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_node.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_primitive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_primitive.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_sampler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_sampler.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_shader_cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_shader_cache.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_texture.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_texture.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_tool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_tool.ts -------------------------------------------------------------------------------- /vol11_glb/src/glb/glb_viewbuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/glb/glb_viewbuffer.ts -------------------------------------------------------------------------------- /vol11_glb/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/main.ts -------------------------------------------------------------------------------- /vol11_glb/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/style.css -------------------------------------------------------------------------------- /vol11_glb/src/types/glb.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/types/glb.d.ts -------------------------------------------------------------------------------- /vol11_glb/src/types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/src/types/index.d.ts -------------------------------------------------------------------------------- /vol11_glb/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb/tsconfig.json -------------------------------------------------------------------------------- /vol11_glb/vite.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | assetsInclude: ["**/*.glb"], 3 | }; 4 | -------------------------------------------------------------------------------- /vol11_glb_simple/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/.gitignore -------------------------------------------------------------------------------- /vol11_glb_simple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/README.md -------------------------------------------------------------------------------- /vol11_glb_simple/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/index.html -------------------------------------------------------------------------------- /vol11_glb_simple/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/package.json -------------------------------------------------------------------------------- /vol11_glb_simple/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol11_glb_simple/public/Buggy.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/public/Buggy.glb -------------------------------------------------------------------------------- /vol11_glb_simple/public/DamagedHelmet.glb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/public/DamagedHelmet.glb -------------------------------------------------------------------------------- /vol11_glb_simple/src/components/Camera.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/components/Camera.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/components/InputManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/components/InputManager.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_accessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_accessor.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_main.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_mesh.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_mesh.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_model.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_node.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_node.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_primitive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_primitive.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_tool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_tool.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/glb/glb_viewbuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/glb/glb_viewbuffer.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/main.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/shader/glb.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/shader/glb.wgsl -------------------------------------------------------------------------------- /vol11_glb_simple/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/style.css -------------------------------------------------------------------------------- /vol11_glb_simple/src/types/glb.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/types/glb.d.ts -------------------------------------------------------------------------------- /vol11_glb_simple/src/types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/src/types/index.d.ts -------------------------------------------------------------------------------- /vol11_glb_simple/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol11_glb_simple/tsconfig.json -------------------------------------------------------------------------------- /vol11_glb_simple/vite.config.js: -------------------------------------------------------------------------------- 1 | export default { 2 | assetsInclude: ["**/*.glb"], 3 | }; 4 | -------------------------------------------------------------------------------- /vol1_oneCube/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/.gitignore -------------------------------------------------------------------------------- /vol1_oneCube/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/README.md -------------------------------------------------------------------------------- /vol1_oneCube/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/index.html -------------------------------------------------------------------------------- /vol1_oneCube/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/package.json -------------------------------------------------------------------------------- /vol1_oneCube/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol1_oneCube/public/ortho.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/public/ortho.svg -------------------------------------------------------------------------------- /vol1_oneCube/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/src/main.ts -------------------------------------------------------------------------------- /vol1_oneCube/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol1_oneCube/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol1_oneCube/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/src/style.css -------------------------------------------------------------------------------- /vol1_oneCube/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube/tsconfig.json -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/.gitignore -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/index.html -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/package.json -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/src/main.ts -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/src/style.css -------------------------------------------------------------------------------- /vol1_oneCube_MSAA/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_MSAA/tsconfig.json -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/.gitignore -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/README.md -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/index.html -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/package.json -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/src/helper/init.ts -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/src/helper/math.ts -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/src/main.ts -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/src/style.css -------------------------------------------------------------------------------- /vol1_oneCube_canvas_textureSampling/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_canvas_textureSampling/tsconfig.json -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/.gitignore -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/README.md -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/index.html -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/package.json -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/public/zs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/public/zs.png -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/src/main.ts -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/src/style.css -------------------------------------------------------------------------------- /vol1_oneCube_image_textureSampling/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_image_textureSampling/tsconfig.json -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/.gitignore -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/README.md -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/index.html -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/package.json -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/src/helper/init.ts -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/src/helper/math.ts -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/src/main.ts -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/src/style.css -------------------------------------------------------------------------------- /vol1_oneCube_indexBuffer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_indexBuffer/tsconfig.json -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/.gitignore -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/README.md -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/index.html -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/package.json -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/public/1.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/public/1.mp4 -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/src/helper/init.ts -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/src/helper/math.ts -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/src/main.ts -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/src/style.css -------------------------------------------------------------------------------- /vol1_oneCube_video_textureSampling/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol1_oneCube_video_textureSampling/tsconfig.json -------------------------------------------------------------------------------- /vol2_twoCubes/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/.gitignore -------------------------------------------------------------------------------- /vol2_twoCubes/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/index.html -------------------------------------------------------------------------------- /vol2_twoCubes/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/package.json -------------------------------------------------------------------------------- /vol2_twoCubes/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol2_twoCubes/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol2_twoCubes/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/helper/init.ts -------------------------------------------------------------------------------- /vol2_twoCubes/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/helper/math.ts -------------------------------------------------------------------------------- /vol2_twoCubes/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol2_twoCubes/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/main.ts -------------------------------------------------------------------------------- /vol2_twoCubes/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol2_twoCubes/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol2_twoCubes/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/src/style.css -------------------------------------------------------------------------------- /vol2_twoCubes/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes/tsconfig.json -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/.gitignore -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/index.html -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/package.json -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/helper/init.ts -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/helper/math.ts -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/main.ts -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/src/style.css -------------------------------------------------------------------------------- /vol2_twoCubes_MSAA/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol2_twoCubes_MSAA/tsconfig.json -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/.gitignore -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/index.html -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/package.json -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/helper/init.ts -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/helper/math.ts -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/main.ts -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/shader/sphereFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/shader/sphereFrag.wgsl -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/shader/sphereVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/shader/sphereVert.wgsl -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/src/style.css -------------------------------------------------------------------------------- /vol3_sphere_wireFrame/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol3_sphere_wireFrame/tsconfig.json -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/.gitignore -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/index.html -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/package.json -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/helper/init.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/helper/math.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/main.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/src/style.css -------------------------------------------------------------------------------- /vol4_oneCube_light_mv+p/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_mv+p/tsconfig.json -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/.gitignore -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/index.html -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/package.json -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/helper/init.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/helper/math.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/helper/vertexData.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/helper/vertexData.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/main.ts -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/shader/cubeFrag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/shader/cubeFrag.wgsl -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/shader/cubeVert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/shader/cubeVert.wgsl -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/src/style.css -------------------------------------------------------------------------------- /vol4_oneCube_light_vp+m/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol4_oneCube_light_vp+m/tsconfig.json -------------------------------------------------------------------------------- /vol5_objects_light/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/.gitignore -------------------------------------------------------------------------------- /vol5_objects_light/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/index.html -------------------------------------------------------------------------------- /vol5_objects_light/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/package.json -------------------------------------------------------------------------------- /vol5_objects_light/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol5_objects_light/src/helper/box.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/helper/box.ts -------------------------------------------------------------------------------- /vol5_objects_light/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol5_objects_light/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/helper/init.ts -------------------------------------------------------------------------------- /vol5_objects_light/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/helper/math.ts -------------------------------------------------------------------------------- /vol5_objects_light/src/helper/sphere.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/helper/sphere.ts -------------------------------------------------------------------------------- /vol5_objects_light/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/main.ts -------------------------------------------------------------------------------- /vol5_objects_light/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol5_objects_light/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol5_objects_light/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/src/style.css -------------------------------------------------------------------------------- /vol5_objects_light/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light/tsconfig.json -------------------------------------------------------------------------------- /vol5_objects_light_layout/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/.gitignore -------------------------------------------------------------------------------- /vol5_objects_light_layout/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/index.html -------------------------------------------------------------------------------- /vol5_objects_light_layout/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/package.json -------------------------------------------------------------------------------- /vol5_objects_light_layout/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/helper/box.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/helper/box.ts -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/helper/init.ts -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/helper/math.ts -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/helper/sphere.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/helper/sphere.ts -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/main.ts -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol5_objects_light_layout/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/src/style.css -------------------------------------------------------------------------------- /vol5_objects_light_layout/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol5_objects_light_layout/tsconfig.json -------------------------------------------------------------------------------- /vol6_shadowMapping/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/.gitignore -------------------------------------------------------------------------------- /vol6_shadowMapping/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/index.html -------------------------------------------------------------------------------- /vol6_shadowMapping/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/package.json -------------------------------------------------------------------------------- /vol6_shadowMapping/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol6_shadowMapping/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol6_shadowMapping/src/helper/box.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/helper/box.ts -------------------------------------------------------------------------------- /vol6_shadowMapping/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol6_shadowMapping/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/helper/init.ts -------------------------------------------------------------------------------- /vol6_shadowMapping/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/helper/math.ts -------------------------------------------------------------------------------- /vol6_shadowMapping/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/main.ts -------------------------------------------------------------------------------- /vol6_shadowMapping/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol6_shadowMapping/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol6_shadowMapping/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/src/style.css -------------------------------------------------------------------------------- /vol6_shadowMapping/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping/tsconfig.json -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/.gitignore -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/index.html -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/package.json -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/helper/box.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/helper/box.ts -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/helper/init.ts -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/helper/math.ts -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/main.ts -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/src/style.css -------------------------------------------------------------------------------- /vol6_shadowMapping_two_lights/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol6_shadowMapping_two_lights/tsconfig.json -------------------------------------------------------------------------------- /vol7_computeShader/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/.gitignore -------------------------------------------------------------------------------- /vol7_computeShader/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/index.html -------------------------------------------------------------------------------- /vol7_computeShader/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/package.json -------------------------------------------------------------------------------- /vol7_computeShader/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol7_computeShader/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol7_computeShader/src/helper/box.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/helper/box.ts -------------------------------------------------------------------------------- /vol7_computeShader/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol7_computeShader/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/helper/init.ts -------------------------------------------------------------------------------- /vol7_computeShader/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/helper/math.ts -------------------------------------------------------------------------------- /vol7_computeShader/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/main.ts -------------------------------------------------------------------------------- /vol7_computeShader/src/shader/compute.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/shader/compute.wgsl -------------------------------------------------------------------------------- /vol7_computeShader/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol7_computeShader/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol7_computeShader/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/src/style.css -------------------------------------------------------------------------------- /vol7_computeShader/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol7_computeShader/tsconfig.json -------------------------------------------------------------------------------- /vol8_worker/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/.gitignore -------------------------------------------------------------------------------- /vol8_worker/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/index.html -------------------------------------------------------------------------------- /vol8_worker/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/package.json -------------------------------------------------------------------------------- /vol8_worker/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol8_worker/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol8_worker/src/helper/cube.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/helper/cube.ts -------------------------------------------------------------------------------- /vol8_worker/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol8_worker/src/helper/math.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/helper/math.ts -------------------------------------------------------------------------------- /vol8_worker/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/main.ts -------------------------------------------------------------------------------- /vol8_worker/src/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/shader/frag.wgsl -------------------------------------------------------------------------------- /vol8_worker/src/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/shader/vert.wgsl -------------------------------------------------------------------------------- /vol8_worker/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/style.css -------------------------------------------------------------------------------- /vol8_worker/src/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/src/worker.ts -------------------------------------------------------------------------------- /vol8_worker/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker/tsconfig.json -------------------------------------------------------------------------------- /vol8_worker_axes/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/.gitignore -------------------------------------------------------------------------------- /vol8_worker_axes/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/index.html -------------------------------------------------------------------------------- /vol8_worker_axes/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/package.json -------------------------------------------------------------------------------- /vol8_worker_axes/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol8_worker_axes/src/components/Axes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/components/Axes.ts -------------------------------------------------------------------------------- /vol8_worker_axes/src/components/Camera.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/components/Camera.ts -------------------------------------------------------------------------------- /vol8_worker_axes/src/components/Cube.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/components/Cube.ts -------------------------------------------------------------------------------- /vol8_worker_axes/src/components/shader/axes.frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/components/shader/axes.frag.wgsl -------------------------------------------------------------------------------- /vol8_worker_axes/src/components/shader/axes.vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/components/shader/axes.vert.wgsl -------------------------------------------------------------------------------- /vol8_worker_axes/src/components/shader/frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/components/shader/frag.wgsl -------------------------------------------------------------------------------- /vol8_worker_axes/src/components/shader/vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/components/shader/vert.wgsl -------------------------------------------------------------------------------- /vol8_worker_axes/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol8_worker_axes/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol8_worker_axes/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/main.ts -------------------------------------------------------------------------------- /vol8_worker_axes/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/style.css -------------------------------------------------------------------------------- /vol8_worker_axes/src/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/src/worker.ts -------------------------------------------------------------------------------- /vol8_worker_axes/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol8_worker_axes/tsconfig.json -------------------------------------------------------------------------------- /vol9_camera_control/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/.gitignore -------------------------------------------------------------------------------- /vol9_camera_control/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/index.html -------------------------------------------------------------------------------- /vol9_camera_control/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/package.json -------------------------------------------------------------------------------- /vol9_camera_control/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol9_camera_control/src/components/Axes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/Axes.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/components/Camera.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/Camera.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/components/Cube.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/Cube.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/components/GPUManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/GPUManager.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/components/InputManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/InputManager.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/components/RenderableObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/RenderableObject.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/components/Scene.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/Scene.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/components/shader/axes.frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/shader/axes.frag.wgsl -------------------------------------------------------------------------------- /vol9_camera_control/src/components/shader/axes.vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/shader/axes.vert.wgsl -------------------------------------------------------------------------------- /vol9_camera_control/src/components/shader/cube.frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/shader/cube.frag.wgsl -------------------------------------------------------------------------------- /vol9_camera_control/src/components/shader/cube.vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/components/shader/cube.vert.wgsl -------------------------------------------------------------------------------- /vol9_camera_control/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/helper/init.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/main.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/math/quaternion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/math/quaternion.ts -------------------------------------------------------------------------------- /vol9_camera_control/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/src/style.css -------------------------------------------------------------------------------- /vol9_camera_control/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control/tsconfig.json -------------------------------------------------------------------------------- /vol9_camera_control_simple/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/.gitignore -------------------------------------------------------------------------------- /vol9_camera_control_simple/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/index.html -------------------------------------------------------------------------------- /vol9_camera_control_simple/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/package.json -------------------------------------------------------------------------------- /vol9_camera_control_simple/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/pnpm-lock.yaml -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/Axes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/Axes.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/Camera.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/Camera.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/CameraController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/CameraController.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/Cube.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/Cube.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/GPUManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/GPUManager.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/RenderableObject.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/RenderableObject.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/Scene.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/Scene.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/shader/axes.frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/shader/axes.frag.wgsl -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/shader/axes.vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/shader/axes.vert.wgsl -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/shader/cube.frag.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/shader/cube.frag.wgsl -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/components/shader/cube.vert.wgsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/components/shader/cube.vert.wgsl -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/helper/bindGroup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/helper/bindGroup.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/helper/gpuBuffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/helper/gpuBuffer.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/helper/init.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/helper/init.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/main.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/math/quaternion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/math/quaternion.ts -------------------------------------------------------------------------------- /vol9_camera_control_simple/src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/src/style.css -------------------------------------------------------------------------------- /vol9_camera_control_simple/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyirs/webgpu_study/HEAD/vol9_camera_control_simple/tsconfig.json --------------------------------------------------------------------------------