Upgrade to Pro — share decks privately, control downloads, hide ads and more …

URP/HDRPを使ったVRM対応アプリの開発方法 / VRM Importer Extension

Avatar for sotanmochi sotanmochi
March 31, 2021

URP/HDRPを使ったVRM対応アプリの開発方法 / VRM Importer Extension

第5回 VRM勉強会 LT資料

Avatar for sotanmochi

sotanmochi

March 31, 2021
Tweet

More Decks by sotanmochi

Other Decks in Technology

Transcript

  1. CreateMaterialメソッドにマテリアルの変換処理を実装する 主なシェーダープロパティの対応表 Universal Toon Shader RealToon (URP) MToon _MainTex _MainTex

    _MainTex _BaseColor _MainColor _Color _1st_ShadeMap _ShadeTexture _1st_ShadeColor _OverallShadowColor _ShadeColor _Cutoff _Cutout _Cutoff _BaseShade_Feather 1.0 - _ShadeToony _NormalMap _NormalMap _BumpMap _BumpScale _NormalMapIntensity _BumpScale _Emissive_Tex _GlossTexture _EmissionMap _Emissive_Color _GlossColor _EmissionColor Universal Toon Shader RealToon (URP) MToon _MatCap_Sampler _MCap _SphereAdd _RimLightColor _RimLightColor _RimColor _OutlineTex _OutlineWidthControl _OutlineWidthTexture _Outline_Width _OutlineWidth _OutlineWidth _Outline_Color _OutlineColor _OutlineColor 1. VRMMaterialImporterを継承したクラスを作成 9
  2. ライブラリを公開しました VRM Importer Extension for Unity URP https://github.com/sotanmochi/VRMImporterExtension-URP 利用可能なシェーダー: ・Universal

    Toon Shader 2.2.1 ・RealToon Shader 5.0.8  ・URP: ランタイムインポートはデバッグ中  ・HDRP: 開発中 動作確認環境: ・Unity 2019.4 + URP 7.5.2 + UniVRM 0.66.0 15