CS 453, lecture 32: the rays return, part 2. Lecture 31's Ray Lab, plus a mirror floor, a lamp with a size, and pass 3, which averages the frames. Pick a You Try, guess the picture, then change the code.
u.time 0.00u.resolution 0 × 0u.mouse 0, 0u.frame 0 (frames averaged)shadow map 1024 × 1024lamp_vs and vs_main each run 3048 times a frame0 fpsthe GPU takes – ms a frame
u.mvp and u.lamp_mvp, made once a frame from these numbers
1
Starting WebGPU…
The shader recompiles as you type. Ctrl+Enter runs it now. A broken shader leaves the last good picture on screen.
The given part: the uniforms u, the shadow map, the triangles, new_frame, history and screen_vs (code/hybrid.py)