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

Texture Projection #2

Open
1 task
fidelthomet opened this issue Sep 6, 2024 · 0 comments
Open
1 task

Texture Projection #2

fidelthomet opened this issue Sep 6, 2024 · 0 comments

Comments

@fidelthomet
Copy link
Member

fidelthomet commented Sep 6, 2024

There seem to be two different approaches:

1. Spotlight Projection

Three.js spotlight can use texture maps. As of now they're always circle shaped, there's an open PR for rectangular projections.

Using light requires an otherwise dimly lit scene, overlapping multiple projections is tricky, and model textures/materials affect the light.

2. Projecting texture onto model

There's a library. The projection is projecting through the mesh to other parts of the mesh. Might be fixable.

For now (2) is preferred as it is usable as is.

See https://github.com/thometnanni/vantage/tree/texture-projection for comparison
image

Todos:

  • check texture projection with orthographic camera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant