-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No more outlines since V4 #742
Comments
Hi there @whitespacecode I'm really not familiar on that package so maybe @hawk86104 can support us here |
Or why not using Tresjs Postprocessing package directly https://post-processing.tresjs.org/guide/effects/outline.html ? |
Wait.. @alvarosabu There is a post-processing.tresjs!? |
@alvarosabu @whitespacecode Regarding the version dependency of Tress, I have not upgraded to 4.x because the upgrade would cause many issues with the previous functionalities. I did a brief check and found quite a few problems, so I plan to wait until the 4.x version is more complete and stable before upgrading. |
I noticed when i use the outlines package directly on the mesh everything works. //This works fine on V4
const outlines = Outlines()
const mesh = new THREE.Mesh(geometry, material)
mesh.add(outlines.group) |
@whitespacecode @alvarosabu and this is tvt v4.x branch: |
Thanks for your fix and insight! I do prefer the shader-based outline more, your fix works in my example. |
This is fixed in V4.2 |
Describe the bug
Using the @pmndrs/vanilla package to create an Outline around the Mesh fails in V4
On V3.9
On V4.x
No console error's..
I used @hawk86104 example to create this and noticed the outline's break in V4
Reproduction
https://stackblitz.com/edit/tresjs-basic-9b2xts?file=src%2Fcomponents%2FTheExperience.vue
Steps to reproduce
Change the package.json so Tresjs uses V4 and the outline will be gone
System Info
Used Package Manager
npm
Code of Conduct
The text was updated successfully, but these errors were encountered: