function createShaderMaterial(computeFragmentShader, uniforms) {
	
	    uniforms = uniforms || {};
	
	    var material = new THREE.ShaderMaterial({
	      uniforms: uniforms,
	      vertexShader: getPassThroughVertexShader(),
	      fragmentShader: computeFragmentShader
	    });
	
	    addResolutionDefine(material);
	
	    return material;
	  }
// The following functions can be used to compute things manually
The following functions can be used to compute things manually
The following functions can be used to compute things manually
function createShaderMaterial(computeFragmentShader, uniforms) {
	    uniforms = uniforms || {};
	    var material = new THREE.ShaderMaterial({
	      uniforms: uniforms,
	      vertexShader: getPassThroughVertexShader(),
	      fragmentShader: computeFragmentShader
	    });
	    addResolutionDefine(material);
	    return material;
	  }
function createShaderMaterial ( computeFragmentShader , uniforms ) { uniforms = uniforms || { } ; var material = new THREE . ShaderMaterial ( { uniforms : uniforms , vertexShader : getPassThroughVertexShader ( ) , fragmentShader : computeFragmentShader } ) ; addResolutionDefine ( material ) ; return material ; }
The following functions can be used to compute things manually
The following functions can be used to compute things manually