Skip to content

Commit

Permalink
docs: add missing info, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
noname0310 committed Sep 4, 2024
1 parent fcdad64 commit 6b16fe5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions docs/docs/0-quick-start/0-create-basic-scene/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,3 @@ shadowGenerator.addShadowCaster(ground);
```

![now we have ground](image-1.png)


2 changes: 1 addition & 1 deletion docs/docs/0-quick-start/1-load-mmd-model/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ shadowGenerator.addShadowCaster(mmdMesh);

- An loadAssetContainerAsync call in pmx file guarantees that result.meshes length is always greater than 0 and result.meshes[0] is always a root mesh which type is MmdMesh.

- Below is the shadow setting I won't explain in detail.
- Below is the shadow setting. see [Shadows | Babylon.js Documentation](https://doc.babylonjs.com/features/featuresDeepDive/lights/shadows) for more information.

![result](image-2.png)
2 changes: 1 addition & 1 deletion docs/docs/0-quick-start/4-physics/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const mmdRuntime = new MmdRuntime(scene, new MmdPhysics(scene));
:::info
`MmdPhysics` is powered by havok physics, which can lead to much different results than MMD.

For slower, but more MMD-like results, you can use `MmdAmmoPhysics`, which is powered by ammo.js
For heavier, but more MMD-like results, you can use `MmdAmmoPhysics`, which is powered by ammo.js
:::

import ReactPlayer from "react-player";
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/1-deep-usage/0-create-basic-scene/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export class SceneBuilder implements ISceneBuilder {

:::danger
you must not use `import { MmdCamera } from "babylon-mmd";` or `import { Engine } from "@babylonjs/core";` for treeshaking.

for treeshaking working properly, you must use full path like `import { MmdCamera } from "babylon-mmd/esm/Runtime/mmdCamera";` when importing any classes, functions, or variables from babylon-mmd or babylonjs.
:::

add light, shadow, and ground.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/1-deep-usage/8-postprocesses/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Apply post processing to improve the quality of the output.

Since it is not a function of babylon-mmd, I will not explain the setting in detail.
Since it is not a feature of babylon-mmd, I will not explain the setting in detail.

## Use Default Rendering Pipeline

Expand Down

0 comments on commit 6b16fe5

Please sign in to comment.