 
 		@uniforms.iResolution.value.x = width * ratio
 		@uniforms.iResolution.value.y = height * ratio
-		@uniforms.u_resolution.value.x = width * ratio
-		@uniforms.u_resolution.value.y = height * ratio
+		@uniforms.u_resolution.value.x = @uniforms.iResolution.value.x
+		@uniforms.u_resolution.value.y = @uniforms.iResolution.value.y
 
 		@renderer.setSize( width, height )
 

		requestAnimationFrame( @_update )

		@uniforms.iGlobalTime.value = @clock.getElapsedTime()
		@uniforms.u_time.value = @clock.getElapsedTime()

		@renderer.render( @scene, @camera )



		@uniforms.iMouse.value.x = event.offsetX / width
		@uniforms.iMouse.value.y = 1 - (event.offsetY / height)
		@uniforms.u_mouse.value.x = @uniforms.iMouse.value.x
		@uniforms.u_mouse.value.y = @uniforms.iMouse.value.y

	_update: =>

