MaterialEditor v2.1.4
🕑 Added 2020-07-23 20:58:05 +0000 UTCNew feature: Copy and paste for material edits. Now you can copy any edits done to a material and paste the those edits to any other material.
New feature: Shader optimization. MaterialEditor now replaces all shaders for all loaded objects with the copy it has loaded. This reduces the number of copies of a shader which reduces RAM usage and overall improves performance. Can be disabled in the plugin settings if it proves to be a problem.
For modders: Shader optimization also allows overriding vanilla shaders with a different shader. This makes it possible to make all items in the game load with a custom shader instead of the original. To do so, create a MaterialEditor shader mod as normal except using a shader with the same name as the one you want to override. Use responsibly.
For EmotionCreators: when Koikatsu mods are loaded they will have the shader replaced with the EmotionCreators version of that shader which will fix many mods, especially hair mods. Some mods still require a redish style normal map to work correctly in EC, but KK uses grey style normal maps. KK can use red normal maps without a problem, so I updated KoikatsuModdingTools to produce red normal maps. I rebuilt all of my mods this way so they should now function properly on both KK and EC, just update your modpack to get the latest versions. main_opaque and main_alpha shaders are excluded from shader optimization because replacing the KK version of the shader with the EC version makes it worse.
Changelog:
- Added material edit copy/paste
- Added shader optimization
- Added many missing shaders for AI Girl, Honey Select 2, and EmotionCreators. This should make it possible to reset the shader for most vanilla items without errors
- Fixed an error on loading characters sometimes in Koikatsu
- Fixed losing accessory color data on changing selected accessory in AI Girl and Honey Select 2
- Fixed the skin shader for AI Girl and Honey Select 2
- UI is now closed when exiting the character maker
v2.1.1
- Blacklisted the Standard shader from shader optimization since it causes problems
- Fixed the Paste button being disabled
v2.1.2
- Replaced the AIT/Item Meka studio shader with a version that works properly (AI Girl, Honey Select 2)
- Custom shaders can be excluded from shader optimization by setting ShaderOptimization="False" in the xml, in case shader optimization causes problems
v2.1.3
- Fixed items with their renderer disabled becoming visible when toggling them off in the Workspace or by changing the parent object
v2.1.4
- Blacklisted AIT/eyelashes from shader optimization [HS2/AI]
Requirements:
Illusion Modding API
BepInEx 5.1
Installation:
Extract the .zip to your game install
Download:
KK version for Koikatsu, EC version for EmotionCreators, AI version for AI Girl, HS2 version for HoneySelect2