Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
MToon10のURP向けシェーダに不具合、Passの不備があったため以下の修正を行いました。
ご確認の程よろしくお願いいたします。
Cutoutモデルのキャストシャドーが正常に行われていない不具合を修正しました。
これは、AlphaClipを行うべきUV座標が正しくFragmentシェーダに渡されていなかったため発生していました。
URPシェーダにおいて必要のないBuilt-in専用のキーワード群を削除しました。
以下はBuilt-inシェーダ専用なので不要です。
#pragma multi_compile_fwdbase nolightmap nodynlightmap nodirlightmap novertexlight
DepthOnlyとDepthNormalsパスを追加しました。
_CameraDepthTextureや_CameraNormalsTextureを使うポストプロセスには上記のパスはほぼ必須であり、また、DepthPrepassが使われるプロジェクトはDepthOnlyもしくはDepthNormalsパスがPrepassとして使われるため、URPにおいてはこれらが存在しないと様々なポストプロセス表現や正常な深度テストが行えない場合があります。