You need to add your custom layer to your Camera so it renders it.
1 Like
Oh… Right
I think it’s time to take a break…
1 Like
Hey Leonidas
Thanks for the Script!
It works on my Desktopcomputer but not (in any case) on my Microsoft Surface Laptop Studio. It doesn’t show the outline.
Any idea what’s wrong?
Isn’t your script realiable on any device?
Kind regards
Alain
This is a 2 year old thread. Please, create a new one if you have a question.
Also note, that PlayCanvas has modern support for outline:
https://playcanvas.vercel.app/#/graphics/model-outline
https://playcanvas.vercel.app/#/graphics/outlines-colored
Thanks for the hint.
Why are the Files in mjs-Format while I can’t use them in the Playcanvas Script Editor (JS only)? I’m confused.
You can use mjs scripts in Code Editor.
WIP docs for ESM scripts are here: