From aa9ec980d83eebf38e579999886be465a606c8fd Mon Sep 17 00:00:00 2001 From: Christopher Cameron Date: Wed, 24 Jul 2024 10:24:44 -0400 Subject: [PATCH] Update example --- example.html | 152 +++++++++++++++++++++++++++++++++++++++++++++++++ webgl-hdr.html | 120 -------------------------------------- 2 files changed, 152 insertions(+), 120 deletions(-) create mode 100644 example.html delete mode 100644 webgl-hdr.html diff --git a/example.html b/example.html new file mode 100644 index 0000000..a2bbdfe --- /dev/null +++ b/example.html @@ -0,0 +1,152 @@ + + + + + + +

HDR support

+

The dynamic-range media query matches ?.

+ + + +

+This demo requires that "Experimental Web Platform features" be enabled in chrome://flags. +

+ +

Rendering settings

+

+ Pixel value: + + + + + + + + (sRGB-encoded), ? (linear-encoded) +

+ + +

+Tone map mode: + + + + +

+ +

Canvas

+ + + diff --git a/webgl-hdr.html b/webgl-hdr.html deleted file mode 100644 index 4d9778c..0000000 --- a/webgl-hdr.html +++ /dev/null @@ -1,120 +0,0 @@ - - - -WebGL HDR/WCG Test - - - - - - - - - -

The background of this page is sRGB(1,0,0)

-

The left side of this canvas is drawing xsRGB(1.093034 -0.226670 -0.150102), which is equivalent to P3(1,0,0).

-

The next-to-left box should be sRGB(1,0,0).

-

The next-right box should be sRGB(1,1,1).

-

The right side of this canvas is drawing xsRGB(1.353256,,), which should have twice the physical luminance of sRGB(1,1,1).

-

- -

This image has a background of P3(1,0,0) and has a logo with color sRGB(1,0,0) in the center.

- -