Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CGINCLUDE
- #include "UnityShaderVariables.cginc"
- // Fuck lighting
- #define _WorldSpaceLightPos0 (0..xxxx)
- #define _LightPositionRange (0..xxxx)
- #define _LightProjectionParams (0..xxxx)
- #define unity_4LightPosX0 (0..xxxx)
- #define unity_4LightPosY0 (0..xxxx)
- #define unity_4LightPosZ0 (0..xxxx)
- #define unity_4LightAtten0 (0..xxxx)
- #define unity_LightColor DISABLE_unity_LightColor
- #define unity_LightPosition DISABLE_unity_LightPosition
- #define unity_LightAtten DISABLE_unity_LightAtten
- #define unity_SpotDirection DISABLE_unity_SpotDirection
- #define unity_SHAr (0..xxxx)
- #define unity_SHAg (0..xxxx)
- #define unity_SHAb (0..xxxx)
- #define unity_SHBr (0..xxxx)
- #define unity_SHBg (0..xxxx)
- #define unity_SHBb (0..xxxx)
- #define unity_SHC (0..xxxx)
- #define unity_OcclusionMaskSelector (0..xxxx)
- #define unity_ProbesOcclusion (0..xxxx)
- static half4 DISABLE_unity_LightColor[8] = {0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx};
- static float4 DISABLE_unity_LightPosition[8] = {0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx};
- static half4 DISABLE_unity_LightAtten[8] = {0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx};
- static float4 DISABLE_unity_SpotDirection[8] = {float2(0.,1.).xxyx,float2(0.,1.).xxyx,float2(0.,1.).xxyx,float2(0.,1.).xxyx,float2(0.,1.).xxyx,float2(0.,1.).xxyx,float2(0.,1.).xxyx,float2(0.,1.).xxyx};
- #define unity_SpecCube0 _BakedCube0
- #define samplerunity_SpecCube0 sampler_BakedCube0
- #define unity_SpecCube1 _BakedCube1
- UNITY_DECLARE_TEXCUBE(_BakedCube0);
- UNITY_DECLARE_TEXCUBE_NOSAMPLER(_BakedCube1);
- #define unity_SpecCube0_BoxMax (0..xxxx)
- #define unity_SpecCube0_BoxMin (0..xxxx)
- #define unity_SpecCube0_ProbePosition (0..xxxx)
- #define unity_SpecCube0_HDR (0..xxxx)
- #define unity_SpecCube1_BoxMax (0..xxxx)
- #define unity_SpecCube1_BoxMin (0..xxxx)
- #define unity_SpecCube1_ProbePosition (0..xxxx)
- #define unity_SpecCube1_HDR (0..xxxx)
- ENDCG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement