Advertisement
Guest User

Untitled

a guest
Aug 12th, 2019
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CGINCLUDE
  2. #include "UnityShaderVariables.cginc"
  3. // Fuck lighting
  4. #define _WorldSpaceLightPos0 (0..xxxx)
  5. #define _LightPositionRange (0..xxxx)
  6. #define _LightProjectionParams (0..xxxx)
  7. #define unity_4LightPosX0 (0..xxxx)
  8. #define unity_4LightPosY0 (0..xxxx)
  9. #define unity_4LightPosZ0 (0..xxxx)
  10. #define unity_4LightAtten0 (0..xxxx)
  11. #define unity_LightColor DISABLE_unity_LightColor
  12. #define unity_LightPosition DISABLE_unity_LightPosition
  13. #define unity_LightAtten DISABLE_unity_LightAtten
  14. #define unity_SpotDirection DISABLE_unity_SpotDirection
  15. #define unity_SHAr (0..xxxx)
  16. #define unity_SHAg (0..xxxx)
  17. #define unity_SHAb (0..xxxx)
  18. #define unity_SHBr (0..xxxx)
  19. #define unity_SHBg (0..xxxx)
  20. #define unity_SHBb (0..xxxx)
  21. #define unity_SHC (0..xxxx)
  22. #define unity_OcclusionMaskSelector (0..xxxx)
  23. #define unity_ProbesOcclusion (0..xxxx)
  24. static half4 DISABLE_unity_LightColor[8] = {0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx};
  25. static float4 DISABLE_unity_LightPosition[8] = {0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx};
  26. static half4 DISABLE_unity_LightAtten[8] = {0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx,0..xxxx};
  27. 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};
  28. #define unity_SpecCube0 _BakedCube0
  29. #define samplerunity_SpecCube0 sampler_BakedCube0
  30. #define unity_SpecCube1 _BakedCube1
  31. UNITY_DECLARE_TEXCUBE(_BakedCube0);
  32. UNITY_DECLARE_TEXCUBE_NOSAMPLER(_BakedCube1);
  33. #define unity_SpecCube0_BoxMax (0..xxxx)
  34. #define unity_SpecCube0_BoxMin (0..xxxx)
  35. #define unity_SpecCube0_ProbePosition (0..xxxx)
  36. #define unity_SpecCube0_HDR (0..xxxx)
  37. #define unity_SpecCube1_BoxMax (0..xxxx)
  38. #define unity_SpecCube1_BoxMin (0..xxxx)
  39. #define unity_SpecCube1_ProbePosition (0..xxxx)
  40. #define unity_SpecCube1_HDR (0..xxxx)
  41. ENDCG
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement