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

URPの導入 #73

Merged
merged 6 commits into from
Jan 22, 2025
Merged

URPの導入 #73

merged 6 commits into from
Jan 22, 2025

Conversation

rngtm
Copy link
Collaborator

@rngtm rngtm commented Jan 19, 2025

概要

レンダーパイプラインにURPを導入します fix #23

対応内容

  1. GraphicsSettingsにUniversalRenderPipelineAssetを登録
    • 背景を透過させるため、HDR を 無効にし、Alpha Processing は有効にしています
  2. DefaultModelのマテリアルのシェーダーをURP用 の MToonに置き換え
    • VRM10/Universal Render Pipeline/MToon10 シェーダーを使用

DefaultModelのマテリアルの描画設定は、すべてAlphaMode = CutOut、CutOff = 0.25 としました
image

動作

Windows向けにビルドした時、キャラが正常に表示され、背景も透過していることを確認
image

@rngtm rngtm requested a review from ayutaz January 19, 2025 23:40
@ayutaz
Copy link
Contributor

ayutaz commented Jan 21, 2025

shaderをlilToonに置き換え、cutoutにしました(手元だとunity6のURPでもlilToonが動きました)

@ayutaz
Copy link
Contributor

ayutaz commented Jan 21, 2025

image

URPのlit shaderを一部使っていて、シェーダーストリッピングされるためダミーオブジェクトのシーンにおいているため対応をしたい

@ayutaz
Copy link
Contributor

ayutaz commented Jan 22, 2025

ドラッグの動作確認もできたため、マージします

@ayutaz ayutaz merged commit 219fd3d into develop Jan 22, 2025
5 checks passed
@ayutaz ayutaz deleted the feat/urp branch January 22, 2025 06:01
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.

unity6でURPに変更しても背景が半透明にならない
2 participants