-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
22 lines (22 loc) · 1.18 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WebGPU Path Tracing</title>
<script type="module" src="./main.js"></script>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<h1>WebGPU Path Tracing</h1>
<h3>A simple path tracer powered by WebGPU compute shaders</h3>
<div id="viewport">
<canvas width="512" height="512"></canvas>
</div>
<p class="center">Click and drag to move the camera.</p>
<p>Path tracing is a computer graphics rendering technique used to simulate the way light interacts with objects in a virtual scene to create realistic images. It is a method that attempts to model the physical behavior of light as it travels through a scene and interacts with it.</p>
<p>This implementation uses WebGPU compute shaders. WebGPU is an API that exposes the capabilities of modern GPU hardware, allowing accelerated graphics and compute in web applications.</p>
<p>Source code available at <a href="https://github.com/ferminLR/webgpu-path-tracing">GitHub</a>.</p>
<p class="center">Made by <a href="/">Fermin Lozano</a></p>
</body>
</html>