mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
The GE computes these powers as exp2(e * log2(x)), with log2 and exp2 each a straight line between powers of two (Mitchell's approximation), and only uses the top 4 bits of the specular coefficient's mantissa. Through a highlight's falloff a true pow is 10-30 steps of 255 brighter at the exponents games use. Measured in gpu/lighting/specular. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>