summaryrefslogtreecommitdiffstats
path: root/tooner.shader
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-09-15 18:25:19 -0700
committeryum <yum.food.vr@gmail.com>2024-09-15 18:25:19 -0700
commit5f5cdb6cac392d681e8a57cdfb2bfc55d11e2194 (patch)
tree3889c11e06b3848651264a11d0ef8e1a849f4202 /tooner.shader
parentbc0339ef792df8580d155fbcb7321b2659355905 (diff)
Bugfix: misspelled _WorldSpaceCameraPos
Diffstat (limited to 'tooner.shader')
-rw-r--r--tooner.shader6
1 files changed, 2 insertions, 4 deletions
diff --git a/tooner.shader b/tooner.shader
index 6ab0076..e98092f 100644
--- a/tooner.shader
+++ b/tooner.shader
@@ -3,12 +3,12 @@ Shader "yum_food/tooner"
// Unity fucking sucks ass and sometimes incorrectly uses an old cached
// version of the shader. Bump the nonce below to encourage it to use the
// current version.
- // Build nonce: 24
+ // Build nonce: 28
Properties
{
_Color("Base color", Color) = (0.8, 0.8, 0.8, 1)
_Metallic("Metallic", Range(0, 1)) = 0
- _Roughness("Roughness", Range(0, 1)) = 1
+ _Roughness("Roughness", Range(0, 4)) = 1
_Roughness_Invert("Roughness invert", Float) = 0
_Clearcoat_Enabled("Clearcoat enabled", Float) = 0
@@ -592,7 +592,6 @@ Shader "yum_food/tooner"
#include "tooner_lighting.cginc"
ENDCG
}
- /*
Pass {
Tags {
"RenderType"="Opaque"
@@ -672,7 +671,6 @@ Shader "yum_food/tooner"
#include "mochie_shadow_caster.cginc"
ENDCG
}
- */
}
CustomEditor "ToonerGUI"
}