Example 13: HDR Texture

A WebGL-enabled browser is needed to run the examples.
Refer to this page for a quick HOWTO.


This example shows how to use HDR textures using PNGHDR, a format that encodes extra information in the alpha channel of a PNG file. See the Matlab function on how to encode and decode (for reference purpose) HDR images into this format.
Demo by Francesco Banterle.
HDR image courtesy of Paul Debevec.


Click using the left button mouse to set exposure.
Move the mouse while keeping clicked the left button mouse to change exposure in real-time.