It's a shader mod for HS2 / AI-Shoujo Studio, letting an object be rendered as a refractive glass. This mod is based on GlassBumpRefraction.shader.
Download the .zipmod file for the latest version on the Release Page, then drag and drop it into your /mods/ folder to finish installation, or use KKManager to install this mod.
In Studio, select the object you want to change the shader, and open MaterialEditor tab. Assign Shader option to Blake/GlassBumpRefraction. In the following figure, I changed the shader of the plane item to this Shader.
If you don't need the shadow casted by the plane as a glass, can switch off the option of Shader Casting Mode of its material on MaterialEditor tab.
- BumpMap - indicating how the surface does bump and refraction. It has a hexagon texture by default. The following figure shows the effect by importing another bump map.
- ColorMask - indicating what parts to have refraction and what parts not to. This should be imported an RGB(A) texture, in which the highest value in RGB channels is recognized as full refraction and 0 value means no such refraction. This value is also multiplied by alpha channel. It has a pure white texture by default.
- MainTex - Main map or Albedo.
- Color - base color being multiplied by value of MainTex. Alpha channel indicates the transparency.
- BumpMapScale - scaling multiplier for BumpMap.
- BumpMapScale_XY_Ratio - X/Y ratio in BumpMapScale.
- BumpMapStrength - intensity of BumpMap.
- BumpMapRotate - rotation of BumpMap.
- Distortion - affecting offset of refraction.
- RefractionIndex - affecting direction of refraction.
- RefractionDepth - affecting offset of refraction.
- ColorMaskStrength - multiplier of ColorMask.
- ColorMaskInvert - when 1.0, ColorMask is flipped.
Bl@ke
Front Page: https://www.blatke.cc
Discord Server: https://discord.gg/nc5pmnf8X3
QQ Chatgroup for Modders: 904857543


