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; }
public bool CompareBase(RenderItem other) { if (material.baseTexture == other.material.baseTexture) { return true; } return false; }