-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Speed Variable #29
Added Speed Variable #29
Conversation
Merging alpha mode work from development into master.
Last minute fix for normal width regression
Merge inspector changes from development into master.
Fixed spot light shadows.
Maybe be done a bit crudely.
indentation! tabs vs spaces! |
@@ -88,7 +91,7 @@ Shader "CubedParadox/Flat Lit Toon Rainbow" { | |||
////// Lighting: | |||
float attenuation = LIGHT_ATTENUATION(i); | |||
float4 _MainTex_var = tex2D(_MainTex,TRANSFORM_TEX(i.uv0, _MainTex)); | |||
float4 node_1939 = _Time + _TimeEditor; | |||
float4 node_1939 = _Time*_Speed + _TimeEditor; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also put a space here: (_Time * _Speed) + _TimeEditor
updated as requested. |
IMPORTANT: This shader is deprecated, I'm accepting this pull request for now, but will be replacing the rainbow shader with an updated variant in the future, built ontop of the latest toon shader and with a few new rainbow settings. |
Maybe be done a bit crudely.