Hybrid Lab

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.00 u.resolution 0 × 0 u.mouse 0, 0 u.frame 0 (frames averaged) shadow map 1024 × 1024 lamp_vs and vs_main each run 3048 times a frame 0 fps the GPU takes – ms a frame
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)