Browse Source

Merge pull request #18405 from WestLangley/dev_displacement

Displacement Example: Properly implement damping
Michael Herzog 5 years ago
parent
commit
3346310a07
1 changed files with 2 additions and 0 deletions
  1. 2 0
      examples/webgl_materials_displacementmap.html

+ 2 - 0
examples/webgl_materials_displacementmap.html

@@ -242,6 +242,8 @@
 
 
 				requestAnimationFrame( animate );
 				requestAnimationFrame( animate );
 
 
+				controls.update();
+
 				stats.begin();
 				stats.begin();
 				render();
 				render();
 				stats.end();
 				stats.end();