Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigibas123/materialdedup
NDMF plugin to deduplicate materials on an avi
https://github.com/bigibas123/materialdedup
ndmf vrchat-avatars
Last synced: about 2 months ago
JSON representation
NDMF plugin to deduplicate materials on an avi
- Host: GitHub
- URL: https://github.com/bigibas123/materialdedup
- Owner: bigibas123
- Created: 2024-06-07T21:45:41.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-22T15:41:09.000Z (6 months ago)
- Last Synced: 2024-07-22T19:03:19.805Z (6 months ago)
- Topics: ndmf, vrchat-avatars
- Language: C#
- Homepage: https://bigibas123.github.io/VCC/
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MaterialDedup
Scans the avatar for duplicate materials and replaces them with references to the same one, useful if you're using [VRCFury](https://vrcfury.com/) together with [AvatarOptimizer's Merge Skinned Mesh](https://vpm.anatawa12.com/avatar-optimizer/en/docs/reference/merge-skinned-mesh/).
Makes use of [ndmf](https://github.com/bdunderscore/ndmf), so all modifications are non-destructive. But still: Remember to take regular backups of your project.# Usage
Add the MaterialDeduplicator component to the root and it will run when you build your avi.The component also displays a prediction for how it will try to deduplicate the materials
This gets recalculated at build time due to other plugins making changes beforehand.[VCC](https://bigibas123.github.io/VCC/)
## Background
This [ndmf](https://github.com/bdunderscore/ndmf) plugin is written as a replacement replicating the same functionality as [NdmfVRCFReorder](https://github.com/bigibas123/NdmfVRCFReorder)
in a way that isn't dependent on a bunch of reflection.This will help it break less often and doesn't change the behavior of other plugins.
NdmfVRCFReorder was orignally written because VRCFury creates a seperate material for each skinned mesh,
which makes [AvatarOptimizers](https://github.com/anatawa12/AvatarOptimizer/)'s mesh join tool unable to merge the materials.