|
|
|
|
|
|
[ToggleOff] _AlphaCutoffEnable("Alpha Cutoff Enable", Float) = 0.0 |
|
|
|
_AlphaCutoff("Alpha Cutoff", Range(0.0, 1.0)) = 0.5 |
|
|
|
|
|
|
|
// Transparency |
|
|
|
[Enum(None, 0, ThickPlane, 1, ThickSphere, 2, ThinPlane, 3)]_RefractionMode("Refraction Mode", Int) = 0 |
|
|
|
_IOR("Indice Of Refraction", Range(1.0, 2.5)) = 1.0 |
|
|
|
_ThicknessMultiplier("Thickness Multiplier", Float) = 1.0 |
|
|
|
_TransmittanceColor("Transmittance Color", Color) = (1.0, 1.0, 1.0) |
|
|
|
_ATDistance("Transmittance Absorption Distance", Float) = 1.0 |
|
|
|
|
|
|
|
// Stencil state |
|
|
|
[HideInInspector] _StencilRef("_StencilRef", Int) = 2 // StencilLightingUsage.RegularLighting (fixed at compile time) |
|
|
|
|
|
|
|