Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Update webgl_postprocessing.ts #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/webgl_postprocessing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
*/

import {WebGLRenderer, PerspectiveCamera, Scene, Fog, Object3D, SphereBufferGeometry, MeshPhongMaterial, Mesh, AmbientLight, DirectionalLight} from 'three';
import {DotScreenShader} from 'three/examples/js/shaders/DotScreenShader';
import {RGBShiftShader} from 'three/examples/js/shaders/RGBShiftShader';
import {EffectComposer} from 'three/examples/js/postprocessing/EffectComposer';
import {RenderPass} from 'three/examples/js/postprocessing/RenderPass';
import {ShaderPass} from 'three/examples/js/postprocessing/ShaderPass';
import {DotScreenShader} from 'three/examples/jsm/shaders/DotScreenShader';
import {RGBShiftShader} from 'three/examples/jsm/shaders/RGBShiftShader';
import {EffectComposer} from 'three/examples/jsm/postprocessing/EffectComposer';
import {RenderPass} from 'three/examples/jsm/postprocessing/RenderPass';
import {ShaderPass} from 'three/examples/jsm/postprocessing/ShaderPass';


const renderer = new WebGLRenderer();
Expand Down