White Knuckle
Install

Details

Last Updated
First Uploaded
Downloads
1.8K
Likes
0
Size
39KB
Dependency string
Phoeboi_Solo-Phoeboi_WK_Stamina_To_Hue-1.1.0
Dependants

Overview

This mod adds in my own shader and material that can be used for White Knuckle hands. Can display stamina as a hue shift effect on the hands, with parameters controlled via the hand's json file.

Use

In the cosmetic hand's cosmetic-handitem-settings.json, include/change the following to be able to use the shader:

"globalMaterialBase": "Item_Hand_Cosmetic_Phoeboi_Stamina_To_Hue_Material",
"forceGlobalMaterialOntoHands": true,
"useCustomStaminaColor": true

Then for shader parameter control, use the stamina color:

"useCustomStaminaOutlineColor": true,
"customStaminaOutlineColor": {
    "r": [FORWARD HUE SHIFT],
    "g": [BACKWARDS HUE SHIFT],
    "b": [QUADRATIC FACTOR],
    "a": 1.0
},

FORWARD HUE SHIFT (red channel): How much forward hue shift occurs with stamina loss. 1.0 is a complete forward loop with total stamina drain.

BACKWARD HUE SHIFT (green channel): How much backward hue shift occurs with stamina loss. 1.0 is a complete backward loop with total stamina drain.

QUADRATIC FACTOR (blue channel): Will cause hue shift speed to increase with stamina drain. 0.0 will make hue shift speed stay consistent throughout the stamina drain. EPILEPSY WARNING IF YOU MESS AROUND WITH THIS PARAMETER.

Known Issues (may or may not fix later)

  • Custom material does not show up properly in cosmetics menu. Works fine in-game.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.