diff --git a/examples/hdr.html b/examples/hdr.html index 4f6e1015..d0066ba4 100644 --- a/examples/hdr.html +++ b/examples/hdr.html @@ -71,6 +71,7 @@ @@ -152,8 +160,9 @@ materialHDR = new THREE.MeshShaderMaterial( { - uniforms: { tDiffuse: { type: "t", value: 0, texture: texture }, - exposure: { type: "f", value: 0.125 } + uniforms: { tDiffuse: { type: "t", value: 0, texture: texture }, + exposure: { type: "f", value: 0.125 }, + brightMax: { type: "f", value: 0.5 } }, vertex_shader: getText( 'vs-hdr' ), fragment_shader: getText( 'fs-hdr' )