Explorar o código

Fixed Save Image.

gam0022 %!s(int64=9) %!d(string=hai) anos
pai
achega
2daf50ad98
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/webgl_raymarching_reflect.html

+ 1 - 1
examples/webgl_raymarching_reflect.html

@@ -261,7 +261,7 @@
 			var config = {
 				saveImage: function() {
 
-					renderer.render( scene, camera );
+					renderer.render( scene, dummyCamera );
 					window.open( canvas.toDataURL() );
 
 				},