// Management · RimWorld Mod
Eye Color HSL Shift Shader
Overview This shader changes the facial animation eye color using HSL shift.
Overview
This shader changes the facial animation eye color using HSL shift.Target
- Designed for EyeballTypeDef with CutoutSkinOverlay and CutoutComplex specified.
Features
- Hue Addition: It works by adding the hue of the color specified in the palette color to the base texture.
- Grayscale Textures: Yields almost the same result as standard multiplication.
- Color Textures: Enables color variations by changing the hue while maintaining a vibrant hue gradient.
- Alpha Channel (Transparency): The alpha value of the palette is used to alter saturation and brightness. The lower the value, the brighter it becomes.
概要
フェイシャルアニメーションのアイカラーをHSLシフトで変更するShaderです。対象
- CutoutSkinOverlay および CutoutComplex が指定された EyeballTypeDef
特徴
- 色相の加算: パレットカラーで指定された色の色相を、ベーステクスチャに加算するように動作します。
- グレースケールテクスチャ: 通常の乗算とほぼ同等の結果になります。
- カラーテクスチャ: 鮮やかな色相グラデーションを維持したまま、色相を変化させたカラー表現が可能です。色相環の性質状赤がメインカラーで着色されているとパレットカラーと直感的に同期しやすくなります。
- α値(透明度)の役割: パレットのα値は、彩度と明度を変化させるために利用されます。値が低いほど、より明るく変化します。乗算ではできなかった明るい方向への着色をも可能にします。