Browse Source

Examples: Clean up. (#27997)

Michael Herzog 1 year ago
parent
commit
4eaa0d1db5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_loader_texture_hdrjpg.html

+ 1 - 1
examples/webgl_loader_texture_hdrjpg.html

@@ -155,7 +155,7 @@
 
 						resolutions[ 'Webp Gain map (separate)' ] = gainMap.width + 'x' + gainMap.height;
 			
-						gainMapBackground = hdrJpg.renderTarget.texture;
+						gainMapBackground = gainMap.renderTarget.texture;
 						gainMapPMREMRenderTarget = pmremGenerator.fromEquirectangular( gainMapBackground );
 
 						gainMapBackground.mapping = THREE.EquirectangularReflectionMapping;