2 comments

  • hackingonempty 3 hours ago
    > spherical harmonics can have uses beyond lighting

    This math is also used in Ambisonic surround sound though newer techniques use planewave expansion.

    For games, the full-sphere encoding of Ambisonic B-format can be decoded for arbitrary speaker locations and the soundfield rotated around any axis. I'm not sure if its ever been used for a game though.

  • vatsachak 1 hour ago
    Awesome write up. Is the appeal of spherical harmonics in graphics compression?

    Like, if you know the third order harmonics that's only 16 values you have to pass around

    • djmips 35 minutes ago
      For sure that's a big reason but it's also a useful basis for doing lighting calculations because of their sphere like nature. They are quite efficient in dynamic scenes and historically used in a lot of precalc to do something akin to real time Global Illumination