You are viewing a potentially older version of this package. View all versions.
ValeX-StubbedShaderConverter-1.0.0 icon

StubbedShaderConverter

An externally referenced tool for using Hopoo shaders in mods. Contains pre-stubbed shaders.

Date uploaded 2 years ago
Version 1.0.0
Download link ValeX-StubbedShaderConverter-1.0.0.zip
Downloads 64349
Dependency string ValeX-StubbedShaderConverter-1.0.0

This mod requires the following mods to function

bbepis-BepInExPack-5.4.9 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.9

README

Stubbed Shader Converter

This is a ThunderKit created external tool for converting stubbed shaders into Hopoo equivelents, and is primarily a tool for other mod developers.
Using StubbedShaderConverter within your mod will require a Soft/HardDependency, as StubbedShaderConverter must load before your mod loads.

Information on how to use this as a mod developer can be found within the Github.

Credits

  • KomradeSpectre: For providing the stubbed shaders and MaterialControllerComponent and massive help with setting this project up and debugging.
  • Kevin: For providing the CloudFix component, which is a variant on KomradeSpectre's MaterialControllerComponent.
  • PassivePicasso (Twiner): For ThunderKit related support and creation of ThunderKit.
  • Nebby: For inspiring me to create this project, and helping out with setting up.

Changelog

0.1.0

  • StubbedShaderConverter's ShaderConverter has been reworked.
    • The namespace has been renamed from ShaderConvert to ShaderConverter.
    • ShaderConvert is kept in this release for compatibility, but will be removed in the future. Please update to use ShaderConverter instead!
    • The cloud remap issues, which most of the methods in this tool were used to solve, has been figured out! All of StubbedShaderConverter's main converter methods have been removed.
    • The new primary method is ShaderConverter.ConvertStubbedShaders() which accepts AssetBundles, GameObjects, Renderers and Materials as input. This can be called in awake and correctly handles cloud remap shaders.
    • Please check out the Github for information on cloud remap materials.
  • Added a new AddMaterialController component.
    • Used for adding KomradeSpectre's Material Controller to any prefab contained within your asset bundle on start.
  • KomradeSpectre's Material Controller has been updated.
    • Now supports all Renderer types.
    • Now supports HGSnowTopped shaders.

0.0.2

  • ConvertAssetBundleShaders now returns an AssetBundle.

0.0.1

  • Initial Release.