three-post-processing
multi pass post processing on three.js.
Usage
Get Library
link script
Download the library and include in your HTML.
npm
or you can get from npm.
$ npm i three-post-processing
Import
;
Create Post Processing
thisuniforms = time: value: 0 let pp1 = fragmentShader: uniforms:thisuniforms; let pp2 = fragmentShader: uniforms:thisuniforms thispp_params = pp1pp2; thistpp = thisrendererthispp_params;
Render Post Processing
//update post-processing uniformsthisuniformstimevalue += 001; //render scene with post-processingthistpp;