Skip to content
Snippets Groups Projects
Commit 4bb5b0f8 authored by tony056's avatar tony056
Browse files

moved postprocessing & shader files to utils.

parent 912139a9
No related branches found
No related tags found
No related merge requests found
import "./shaderlib/EffectComposer"; import "../utils/postprocessing/EffectComposer";
import "./shaderlib/RenderPass"; import "../utils/postprocessing/RenderPass";
import "./shaderlib/ShaderPass"; import "../utils/postprocessing/ShaderPass";
import "./shaderlib/MaskPass"; import "../utils/postprocessing/MaskPass";
import "./shaderlib/CopyShader"; import "../utils/shaders/CopyShader";
import "./shaderlib/VignetteShader"; import "../utils/shaders/VignetteShader";
const STATIC = new THREE.Vector3(0, 0, 0); const STATIC = new THREE.Vector3(0, 0, 0);
const CLAMP_VELOCITY = 0.01; const CLAMP_VELOCITY = 0.01;
...@@ -14,7 +14,7 @@ AFRAME.registerSystem ('tunneleffect', { ...@@ -14,7 +14,7 @@ AFRAME.registerSystem ('tunneleffect', {
movingEvent: { type: 'string', default: 'renderstart' }, movingEvent: { type: 'string', default: 'renderstart' },
radius: { type: 'number', default: 0.45, min: 0.25 }, radius: { type: 'number', default: 0.45, min: 0.25 },
minRadius: { type: 'number', default: 0.2, min: 0.1 }, minRadius: { type: 'number', default: 0.2, min: 0.1 },
softness: { type: 'number', default: 0.2, min: 0.0 }, softness: { type: 'number', default: 0.1, min: 0.0 },
opacity: { type: 'number', default: 1, min: 0.0 } opacity: { type: 'number', default: 1, min: 0.0 }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment