提交 1a3a1413 编写于 作者: M Mugen87

JSM: Added dat.gui module version.

上级 d0fa8e1d
此差异已折叠。
......@@ -8,8 +8,6 @@
</head>
<body>
<script src="js/libs/dat.gui.min.js"></script>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener noreferrer">three.js</a> - webgl - postprocessing<br/>
sobel (edge detection)
......@@ -27,6 +25,8 @@
PointLight
} from "../build/three.module.js";
import { GUI } from './jsm/libs/dat.gui.module.js';
import { OrbitControls } from './jsm/controls/OrbitControls.js';
import { EffectComposer } from './jsm/postprocessing/EffectComposer.js';
......@@ -108,7 +108,7 @@
//
var gui = new dat.GUI();
var gui = new GUI();
gui.add( params, 'enable' );
gui.open();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册