diff options
| author | yum <yum.food.vr@gmail.com> | 2023-01-27 15:28:37 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-01-27 15:28:37 -0800 |
| commit | 30680445b1c59fe107a0be8295da2b8a38c0f6ea (patch) | |
| tree | 0a02a6727fba30ba2a14dc32ee7fbb250ff5f1d0 /Shaders/TaSTT_template.shader | |
| parent | 40ffc0c8a1038490b330c1f1f4b04d6ff34342df (diff) | |
Enable texture-based PBR rendering of backplate
Users can now use PBR textures on their custom backplate!
* Update TaSTT.fbx: UV map aspect ratio matches board
Diffstat (limited to 'Shaders/TaSTT_template.shader')
| -rw-r--r-- | Shaders/TaSTT_template.shader | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Shaders/TaSTT_template.shader b/Shaders/TaSTT_template.shader index bf9f53a..e0d436c 100644 --- a/Shaders/TaSTT_template.shader +++ b/Shaders/TaSTT_template.shader @@ -19,8 +19,15 @@ [MaterialToggle] Enable_Dithering("Enable font dithering", float) = 1
- [MaterialToggle] Use_Custom_Background("Enable custom background", float) = 0
- Custom_Background("Custom background", 2D) = "black" {}
+ [MaterialToggle] BG_Enable("Enable custom background", float) = 0
+ BG_BaseColor("Background base color", 2D) = "black" {}
+ [NoScaleOffset] BG_NormalMap ("Background normal map", 2D) = "bump" {}
+ BG_NormalStrength ("Background normal strength", Float) = 1
+ BG_Smoothness("Background smoothness", 2D) = "black" {}
+ [MaterialToggle]BG_Smoothness_Invert("Invert background smoothness", float) = 1
+ BG_Metallic("Background metallic", 2D) = "black" {}
+ BG_Emission_Mask("Background emission mask", 2D) = "black" {}
+ BG_Emission_Color("Background emission color", Color) = (0, 0, 0)
_Font_0x0000_0x1FFF ("_Font 0 (unicode 0x0000 - 0x1FFFF)", 2D) = "white" {}
_Font_0x2000_0x3FFF ("_Font 1 (unicode 0x2000 - 0x3FFFF)", 2D) = "white" {}
@@ -79,5 +86,6 @@ ENDCG
}
}
+ //CustomEditor "TaSTTShaderGUI"
}
|
