This commit is contained in:
parent
876b092672
commit
18880f6a42
3
main.js
3
main.js
@ -48,13 +48,14 @@ import { EffectComposer } from 'three/addons/postprocessing/EffectComposer.js';
|
|||||||
import { RenderPass } from 'three/addons/postprocessing/RenderPass.js';
|
import { RenderPass } from 'three/addons/postprocessing/RenderPass.js';
|
||||||
import { GlitchPass } from 'three/addons/postprocessing/GlitchPass.js';
|
import { GlitchPass } from 'three/addons/postprocessing/GlitchPass.js';
|
||||||
import { OutputPass } from 'three/addons/postprocessing/OutputPass.js';
|
import { OutputPass } from 'three/addons/postprocessing/OutputPass.js';
|
||||||
|
import { OutlinePass } from 'three/addons/postprocessing/OutlinePass.js';
|
||||||
|
|
||||||
let container, stats;
|
let container, stats;
|
||||||
|
|
||||||
let camera, scene, renderer, effect;
|
let camera, scene, renderer, effect;
|
||||||
let particleLight;
|
let particleLight;
|
||||||
|
|
||||||
let composer, glitchPass;
|
let composer, glitchPass, outlinePass;
|
||||||
|
|
||||||
const loader = new FontLoader();
|
const loader = new FontLoader();
|
||||||
loader.load( 'https://raw.githubusercontent.com/mrdoob/three.js/master/examples/fonts/gentilis_regular.typeface.json', function ( font ) {
|
loader.load( 'https://raw.githubusercontent.com/mrdoob/three.js/master/examples/fonts/gentilis_regular.typeface.json', function ( font ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user