Dither clouds

This commit is contained in:
Joshua Seigler 2018-10-12 14:03:43 -04:00
parent 8721b90d84
commit 0b5065bc97
7 changed files with 16 additions and 11 deletions

View file

@ -46,8 +46,6 @@ export default class Webgl {
initPostprocessing() {
if (!this.usePostprocessing) return;
this._composer = new THREE.EffectComposer(this._renderer);
let ssaoShader = THREE.SSAOShader;
ssaoShader.uniforms.onlyAO = true;
this._passes.forEach((effect, i) => {
if (i == this._passes.length - 1) {
effect.renderToScreen = true;

View file

@ -1,5 +1,5 @@
const props = {
rotation: 0.01,
cloudSpeed: 0.5,
};
module.exports = props;