Skip to content
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

Shader Functions: Add option for filtering by triangle side #467

Open
gkjohnson opened this issue Sep 23, 2022 · 3 comments
Open

Shader Functions: Add option for filtering by triangle side #467

gkjohnson opened this issue Sep 23, 2022 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@gkjohnson
Copy link
Owner

Related to #463

@gkjohnson gkjohnson added the enhancement New feature or request label Sep 23, 2022
@gkjohnson gkjohnson added this to the v0.5.17 milestone Sep 23, 2022
@gkjohnson gkjohnson modified the milestones: v0.5.17, v0.5.18 Oct 15, 2022
@gkjohnson gkjohnson modified the milestones: v0.5.18, v0.5.19, v0.x.x Nov 15, 2022
@peterreeves
Copy link

Hey, just trying to clarify what this issue is about.

I'm currently having a problem where I have a mesh whose material is set to THREE.FrontSide, but I want to receive both forward facing and backwards facing intersections when I do a raycast.

Does this issue mean I could configure the raycaster to "ignore" the material parameters and just give me all intersections? If so that would be great.

@gkjohnson
Copy link
Owner Author

No - this is for shader functions. The cpu raycast functions match the behavior of three.js' built-in functions. If you need both sides of the raycast hits both three.js and this project are flexible enough for you to change material settings or provide custom bvh raycast parameters to get what you're looking for.

@peterreeves
Copy link

Ahh, ok. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants