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

Updated to three.js r150 #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

linbingquan
Copy link
Contributor

@linbingquan linbingquan commented Mar 2, 2023

I tried to upgrade three.js r150.

describe

  • Removed the THREE.Geometry.prototype.toFlatShading method and used flatShading for material. TBH, I am not sure it was right.

  • Refactor the code with ES modules.

  • Created createInstancedMesh method for Scene*Module.js, because of duplicate code.

If the PR has any problem, please tell me.

online preview link: https://linbingquan.github.io/obsidian/

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

Successfully merging this pull request may close these issues.

1 participant