1
0
mirror of https://github.com/troisjs/trois.git synced 2024-11-24 04:12:02 +08:00

tiltshift pass update

This commit is contained in:
Sander Moolin 2021-03-21 14:52:30 -04:00
parent d67805e6bd
commit 132950301c

View File

@ -40,8 +40,9 @@ export default {
uniforms.texSize.value.set(width, height); uniforms.texSize.value.set(width, height);
}; };
this.completePass(pass); // emit ready event with two passes - do so manually in this file instead
this.completePass(pass1); // of calling `completePass` like in other effect types
this.$emit('ready', [this.pass, this.pass1])
}, },
methods: { methods: {
updateFocusLine() { updateFocusLine() {