Taos API Reference
    Preparing search index...

    Function createHdrTexture

    • Uploads raw RGBE pixels and decodes them to an rgba16float 2D texture.

      The RGBE bytes are uploaded as rgba8uint, then a compute shader expands each RGBE quad to floating-point radiance — avoiding per-pixel Math.pow on the CPU. Awaits GPU completion before returning.

      Parameters

      Returns Promise<Texture>

      A 2D rgba16float Texture wrapping the decoded radiance image.