Repository navigation
Use PostFXPlugin (such as OutlinePipeline) with ContainerLite #311
|
Hi, I wanted to ask if it is possible to use a post fx pipeline with a containerlite gameobject? I cannot get it to work... postFxPlugin.add(gameObject, {
thickness: 3,
outlineColor: 0xff8a50
});I get the following error: However this works fine if I use a Thanks. |
Answered by
rexrainbow
Sep 29, 2022
Replies: 1 comment 1 reply
|
containerLite does not have render logic. |
1 reply
Answer selected by
PtrBld
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
containerLite does not have render logic.
You can put containerLite and its children into container, or layer, then apply shader effect on container, or layer.
If containerLite does not have mask children, it is fine to put into container.
Or,
var layer = container.getLayer()will return a private layer for this containerLite.