Skip to content

Commit

Permalink
v23
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthShader committed Aug 31, 2020
1 parent b781768 commit 324a5ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Shaders/Kaj/Editor/KajShaderOptimizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class ShaderOptimizer
// For some reason, 'if' statements with replaced constant (literal) conditions cause some compilation error
// So until that is figured out, branches will be removed by default
// Set to false if you want to keep UNITY_BRANCH and [branch]
public static bool RemoveUnityBranches = false;
public static bool RemoveUnityBranches = true;

// LOD Crossfade Dithing doesn't have multi_compile keyword correctly toggled at build time (its always included) so
// this hard-coded material property will uncomment //#pragma multi_compile _ LOD_FADE_CROSSFADE in optimized .shader files
Expand Down
2 changes: 1 addition & 1 deletion Shaders/Kaj/PBR.shader
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ Shader "Kaj/PBR"
[ToggleUI]_DebugOcclusion("Occlusion", Int) = 0
[HideInInspector]end_Debug("", Int) = 0

[KajLabel]_Version("Shader Version: 22", Int) = 22
[KajLabel]_Version("Shader Version: 23", Int) = 23
}

CustomEditor "Kaj.ShaderEditor"
Expand Down

0 comments on commit 324a5ed

Please sign in to comment.