-
-
Save toxicFork/a2b154f646580854cdd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ------------------------------------------------------------------ | |
// Base forward pass (directional light, emission, lightmaps, ...) | |
Pass | |
{ | |
Name "FORWARD" | |
Tags { "LightMode" = "ForwardBase" } | |
Blend [_SrcBlend] [_DstBlend] | |
ZWrite [_ZWrite] | |
CGPROGRAM | |
#pragma target 3.0 | |
// TEMPORARY: GLES2.0 temporarily disabled to prevent errors spam on devices without textureCubeLodEXT | |
#pragma exclude_renderers gles | |
// ------------------------------------- | |
#pragma shader_feature _NORMALMAP | |
#pragma shader_feature _ _ALPHATEST_ON _ALPHABLEND_ON _ALPHAPREMULTIPLY_ON | |
#pragma shader_feature _EMISSION | |
#pragma shader_feature _METALLICGLOSSMAP | |
#pragma shader_feature ___ _DETAIL_MULX2 | |
#pragma shader_feature _PARALLAXMAP | |
#pragma multi_compile_fwdbase | |
#pragma multi_compile_fog | |
#pragma vertex vertForwardBase | |
#pragma fragment fragForwardBase | |
#include "UnityStandardCore.cginc" | |
ENDCG | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment