diff options
| author | yum <yum.food.vr@gmail.com> | 2024-08-10 01:08:46 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-08-10 01:08:46 -0700 |
| commit | 1aa73f3471b12d5fed9feb76a25c40ccf3969ce8 (patch) | |
| tree | e11918f10da37d6f8623f68f83062e0098a1902a /tooner.shader | |
| parent | 2f48ee027587845df67214607f9cefc0e620d653 (diff) | |
Add metallic/roughness to decals
Also add ability to limit cubemap override to metallic regions of
material.
Also rename `uv` to `uv0` where appropriate. This is to begin supporting
multiple UV maps.
Diffstat (limited to 'tooner.shader')
| -rw-r--r-- | tooner.shader | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tooner.shader b/tooner.shader index ddf9aaa..91974f7 100644 --- a/tooner.shader +++ b/tooner.shader @@ -101,23 +101,35 @@ Shader "yum_food/tooner" _Decal0_Enable("Enable decal", Float) = 0.0 _Decal0_BaseColor("Base color", 2D) = "white" {} + _Decal0_Roughness("Roughness", 2D) = "white" {} + _Decal0_Metallic("Metallic", 2D) = "black" {} _Decal0_Emission_Strength("Emission strength", Float) = 0 _Decal0_Angle("Emission strength", Range(0,1)) = 0 + _Decal0_UV_Select("UV channel", Range(0,1)) = 0 _Decal1_Enable("Enable decal", Float) = 0.0 _Decal1_BaseColor("Base color", 2D) = "white" {} + _Decal1_Roughness("Roughness", 2D) = "white" {} + _Decal1_Metallic("Metallic", 2D) = "black" {} _Decal1_Emission_Strength("Emission strength", Float) = 0 _Decal1_Angle("Emission strength", Range(0,1)) = 0 + _Decal1_UV_Select("UV channel", Range(0,1)) = 0 _Decal2_Enable("Enable decal", Float) = 0.0 _Decal2_BaseColor("Base color", 2D) = "white" {} + _Decal2_Roughness("Roughness", 2D) = "white" {} + _Decal2_Metallic("Metallic", 2D) = "black" {} _Decal2_Emission_Strength("Emission strength", Float) = 0 _Decal2_Angle("Emission strength", Range(0,1)) = 0 + _Decal2_UV_Select("UV channel", Range(0,1)) = 0 _Decal3_Enable("Enable decal", Float) = 0.0 _Decal3_BaseColor("Base color", 2D) = "white" {} + _Decal3_Roughness("Roughness", 2D) = "white" {} + _Decal3_Metallic("Metallic", 2D) = "black" {} _Decal3_Emission_Strength("Emission strength", Float) = 0 _Decal3_Angle("Emission strength", Range(0,1)) = 0 + _Decal3_UV_Select("UV channel", Range(0,1)) = 0 [NoScaleOffset] _EmissionTex("Emission map", 2D) = "black" {} _EmissionStrength("Emission strength", Range(0, 2)) = 0 @@ -125,6 +137,7 @@ Shader "yum_food/tooner" [NoScaleOffset] _Tex_NormalStr("Normal texture strength", Range(0, 10)) = 1 _Cubemap("Cubemap", Cube) = "" {} + _Cubemap_Limit_To_Metallic("Limit cubemap to metallic", Float) = 0.0 _Lighting_Factor("Lighting factor", Range(0, 5)) = 1 _Direct_Lighting_Factor("Direct lighting factor", Range(0, 5)) = 1 _Vertex_Lighting_Factor("Vertex lighting factor", Range(0, 5)) = 1 |
