Skip to content

Commit

Permalink
Merge pull request #74 from CyberAgentGameEntertainment/update-readme
Browse files Browse the repository at this point in the history
Added note regarding PreviewRenderUtility
  • Loading branch information
CA-Tatami committed Mar 26, 2024
2 parents d024a6a + 27a22f2 commit 6f590bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,9 @@ The texture will now rotate.
You can use the [Particle System Mesh GPU Instancing](https://docs.unity3d.com/Manual/PartSysInstancing.html) to draw particles efficiently.
The following section describes how to use `Mesh GPU Instancing` for materials using this shader.

> **Note**
> When displaying particles on the preview screen using **PreviewRenderUtility**, we have confirmed a bug on the Unity side that does not render correctly when **Enable Mesh GPU Instancing** is enabled.
#### Enable Mesh GPU Instancing
To use `Mesh GPU Instancing`, you need to set the `Render Mode` of the `Renderer` module to Mesh.
Then, check the `Enable Mesh GPU Instancing` checkbox.
Expand Down
2 changes: 2 additions & 0 deletions README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -1435,6 +1435,8 @@ Particle SystemのCustom Vertex Streamsを使うと、マテリアルのプロ
## Mesh GPU Instancingを使う
[Particle System Mesh GPU Instancing](https://docs.unity3d.com/Manual/PartSysInstancing.html)を使うと、パーティクルを効率的に描画できます。
以下では本シェーダを使ったマテリアルに対して`Mesh GPU Instancing`を有効化する手順について説明します。
> **Note**
> **PreviewRenderUtility**を利用したプレビュー画面上でパーティクルを表示する場合、**Enable Mesh GPU Instancing**が有効に設定されていると正常に描画されないUnity側の不具合を確認しています。
#### Mesh GPU Instancingを有効化する
`Mesh GPU Instancing`を使うには`Renderer`モジュールの`Render Mode`をMeshにする必要があります。
Expand Down

0 comments on commit 6f590bb

Please sign in to comment.