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

geometry smoother for all model elements #298

Open
trusktr opened this issue Apr 29, 2024 · 0 comments
Open

geometry smoother for all model elements #298

trusktr opened this issue Apr 29, 2024 · 0 comments

Comments

@trusktr
Copy link
Member

trusktr commented Apr 29, 2024

For example ability to control smooth shading of loaded models (adjust normals to make it looks smooth):

<lume-gltf-model ... smooth-geometry="30"></lume-gltf-model>
<lume-fbx-model ... smooth-geometry="30"></lume-fbx-model>

or

<lume-gltf-model ...>
  <lume-smooth amount="30"></lume-smooth>
</lume-gltf-model>
<lume-fbx-model ...>
  <lume-smooth amount="30"></lume-smooth>
</lume-fbx-model>

The first is easier to associate with upcoming CSS style features, while the second is more friendly to composability with various runtime templating systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant