Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var raf = require('raf');
var createCaption = require('vendors/caption');
var ShaderOdangoSet = require('vendors/shader-odango-set/main');
var grayShader = ShaderOdangoSet.gray;
var copyShader = ShaderOdangoSet.copy;
var scene, camera, renderer;
var material, light;
var plane;
var width = window.innerWidth;
var height = window.innerHeight;
var loader = new THREE.TextureLoader();
var composer;
var object;
var title = 'basic post processing';
var caption = '<p>Shader is implemented by <a href="https://github.com/kenjiSpecial/shader-odango-set">https://github.com/kenjiSpecial/shader-odango-set</a></p>';
var wrapper = createCaption(title, caption, 'https://github.com/kenjiSpecial/webgl-sketch-dojo/blob/master/sketches/basic/postprocessing/app.js');
wrapper.style.width = (window.innerWidth/2 - 50) + "px";
var raf = require('raf');
var createCaption = require('../../dom/caption');
var glslify = require('glslify');
var ShaderOdangoSet = require('vendors/shader-odango-set/main');
var copyShader = ShaderOdangoSet.copy;
var blurShader = require('./blur/main');
var blurEffect;
var scene, camera, renderer;
var material, light;
var cubes = [];
var object, id;
var stats, wrapper;
var composer;
var mouse = new THREE.Vector2(-9999, -9999);
var isAnimation = true;
var orthShaderMaterial;
var orthScene, orthCamera, orthPlane;
var raf = require('raf');
var createCaption = require('../../dom/caption');
var ShaderOdangoSet = require('vendors/shader-odango-set/main');
var copyShader = ShaderOdangoSet.copy;
var blurShader = require('./blur/main');
var blurEffect;
var scene, camera, renderer;
var material, light;
var cubes = [];
var object, id;
var stats, wrapper;
var composer;
var mouse = new THREE.Vector2(-9999, -9999);
var isAnimation = true;
var texture = {
front : null,