Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish committed Dec 27, 2023
1 parent 99a6b13 commit 0b3d8e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<h4 id="intro"><span class="font-medium">Lighting &amp; Environment. </span>Control the lighting and the environment surrounding &lt;model-viewer&gt;. This page showcases the skybox-image attribute, which links to an equirectangular projection image which is used as the skybox, and applied as an environment map to the model.</h4>
<div class="heading">
<h2 class="demo-title">An equirectangular HDR <span class="attribute">skybox-image</span></h2>
<p>Since the environment map represents scene lighting, it requires extremely high dynamic range to realistically represent either natural or artificial scenes. Traditionally the .hdr image format was used for this purpose (and is supported here), but it has poor compression. Recently, the UltraHDR image format was introduced which is backwards-compatible with JPEG, still called .jpg but efficiently compresses HDR image data. The examples on this page use UltraHDR to showcase its 10x - 30x savings over .hdr. You can use this free <a href=https://gainmap-creator.monogrid.com>converter</a> to compress your .hdr and .exr environment images - choose save as JPEG.</p>
<p>Since the environment map represents scene lighting, it requires extremely high dynamic range to realistically represent either natural or artificial scenes. Traditionally the .hdr image format was used for this purpose (and is supported here), but it has poor compression. Recently, the <a href=https://developer.android.com/guide/topics/media/platform/hdr-image-format>UltraHDR</a> image format was introduced which is backwards-compatible with JPEG, still called .jpg but efficiently compresses HDR image data. The examples on this page use UltraHDR to showcase its 10x - 30x savings over .hdr. You can use this free <a href=https://gainmap-creator.monogrid.com>converter</a> to compress your .hdr and .exr environment images - choose save as JPEG.</p>
</div>
<example-snippet stamp-to="hdrSkyboxImage" highlight-as="html">
<template>
Expand Down

0 comments on commit 0b3d8e1

Please sign in to comment.