mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-23 03:09:10 +02:00
The GE converts the fog factor to 8 bits per vertex, min(floor(256 * f), 255), and interpolates that linearly in screen space. Clamping after interpolation instead was up to 127 levels off on triangles that cross the fog range. Measured with gpu/probe; points and wacky values still match exactly. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>