-
Notifications
You must be signed in to change notification settings - Fork 501
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
feat(sample): samples of animation #115
Conversation
Add samples to show how to use skeletal animation and property animation
await Engine3D.init({ beforeRender: () => this.renderUpdate() }); | ||
|
||
Engine3D.setting.shadow.shadowBound = 1000; | ||
Engine3D.setting.shadow.shadowBias = 0.002; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better set 0.0001
samples/animation/Sample_Skeleton.ts
Outdated
Engine3D.setting.shadow.autoUpdate = true; | ||
Engine3D.setting.shadow.updateFrameRate = 2; | ||
Engine3D.setting.shadow.shadowBound = 200; | ||
Engine3D.setting.shadow.shadowBias = 0.00066; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set to 0.0001
Engine3D.setting.shadow.autoUpdate = true; | ||
Engine3D.setting.shadow.updateFrameRate = 2; | ||
Engine3D.setting.shadow.shadowBound = 1000 | ||
Engine3D.setting.shadow.shadowBias = 0.002; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same~ 0.0001
Engine3D.setting.shadow.autoUpdate = true; | ||
Engine3D.setting.shadow.updateFrameRate = 1; | ||
Engine3D.setting.shadow.shadowBound = 350 | ||
Engine3D.setting.shadow.shadowBias = 0.002; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~
Add sample of how to control the morphtarget animation
pdate shadow bias
Add samples to show how to use skeletal animation and property animation