Browse Source

Examples: Increase the scale limit in the parallax mapping example (#22112)

While higher values will look broken, this allows for better studying
of individual parallax mapping presets.
Hugo Locurcio 4 years ago
parent
commit
648eef5ec9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/webgl_materials_parallaxmap.html

+ 2 - 2
examples/webgl_materials_parallaxmap.html

@@ -10,7 +10,7 @@
 
 		<div id="info">
 			<a href="https://threejs.org">Three.js</a> parallax mapping <br />
-			Oryginal shaders authors:
+			Original shaders authors:
 			<a href="http://sunandblackcat.com/tipFullView.php?topicid=28">Igor Dyhta</a>,
 			<a href="http://mmikkelsen3d.blogspot.sk/2012/02/parallaxpoc-mapping-and-no-tangent.html">Morten S. Mikkelsen</a><br />
 			Texture by <a href="http://agf81.deviantart.com/">AGF81</a>
@@ -120,7 +120,7 @@
 				const gui = new GUI();
 
 				gui.add( effectController, 'mode', Object.keys( ParallaxShader.modes ) ).onChange( guiChanged );
-				gui.add( effectController, 'scale', 0.0, 0.01, 0.001 ).onChange( guiChanged );
+				gui.add( effectController, 'scale', 0.0, 0.015, 0.001 ).onChange( guiChanged );
 				gui.add( effectController, 'minLayers', 1.0, 30, 1 ).onChange( guiChanged );
 				gui.add( effectController, 'maxLayers', 1.0, 30, 1 ).onChange( guiChanged );