コード例 #1
0
ファイル: RenderItem.cs プロジェクト: maesse/CubeHags
 public bool CompareBump(RenderItem other)
 {
     if (material.baseTexture == other.material.baseTexture)
     {
         if (material.Bumpmap == other.material.Bumpmap)
         {
             if (material.bumpmapTexture == other.material.bumpmapTexture)
             {
                 return true;
             }
         }
     }
     return false;
 }
コード例 #2
0
ファイル: RenderItem.cs プロジェクト: maesse/CubeHags
 public bool CompareBase(RenderItem other)
 {
     if (material.baseTexture == other.material.baseTexture)
     {
         return true;
     }
     return false;
 }