Skip to content

Commit

Permalink
chore: add TODO comments for future improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Oct 18, 2024
1 parent 8542571 commit bae5ed4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ void CleanMaterial(IEnumerable<Material?> materials)
//https://light11.hatenadiary.com/entry/2018/12/04/224253
public static void RemoveUnusedProperties(Material material)
{
// TODO: support material variant
var so = new SerializedObject(material);
so.Update();
var savedProps = so.FindProperty("m_SavedProperties");
Expand Down Expand Up @@ -84,6 +85,7 @@ public static void DeleteUnused(ref SerializedProperty props, Material material)
}
}

// TODO: change set of properties by fallback shader names
// https://creators.vrchat.com/avatars/shader-fallback-system
private static HashSet<string> fallbackShaderProperties = new HashSet<string>
{
Expand Down

0 comments on commit bae5ed4

Please sign in to comment.