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:
parent
d67805e6bd
commit
132950301c
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user