SHARE
TWEET

hlsl

a guest Mar 9th, 2019 6 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #if 0
  2.     *** [Hash 0x03e061ba]   102
  3.     *** [Hash 0x0c7e761b]   4
  4.     *** [Hash 0x123606a9]   0
  5.     *** [Hash 0x15b29840]   0
  6.     *** [Hash 0x161716f8]   128
  7.     *** [Hash 0x19a61682]   1
  8.     *** [Hash 0x1b0c2b69]   0
  9.     *** [Hash 0x1bb5acac]   0
  10.     *** [Hash 0x1e8b5671]   50000
  11.     *** [Hash 0x1f2c6e82]   0
  12.     *** [Hash 0x201f84c0]   0
  13.     *** [Hash 0x2337351f]   5
  14.     *** [Hash 0x23bd5c2d]   599612461
  15.     *** [Hash 0x24d6fb8f]   1
  16.     *** [Hash 0x25dc73c6]   635204550
  17.     *** [Hash 0x26249384]   42857
  18.     *** [Hash 0x2a892b58]   0
  19.     *** [Hash 0x2cb6ab02]   0
  20.     *** [Hash 0x2dd3a2cd]   0
  21.     *** [Hash 0x354d66c0]   3
  22.     *** [Hash 0x359e8062]   1
  23.     *** [Hash 0x360c3db1]   0
  24.     *** [Hash 0x39384d5a]   28571
  25.     *** [Hash 0x3f315fff]   0
  26.     *** [Hash 0x3fcb60f1]   1070293233
  27.     *** [Hash 0x4508a85c]   1
  28.     *** [Hash 0x45d6475f]   0
  29.     *** [Hash 0x4956ca9a]   1
  30.     *** [Hash 0x4ec19020]   1
  31.     *** [Hash 0x51de8f13]   42857
  32.     *** [Hash 0x55683ca9]   1
  33.     *** [Hash 0x57643473]   3
  34.     *** [Hash 0x5a1459c4]   1
  35.     *** [Hash 0x5a23f9f0]   0
  36.     *** [Hash 0x5ca459ef]   0
  37.     *** [Hash 0x5cb4719a]   1
  38.     *** [Hash 0x5dbe1dca]   1
  39.     *** [Hash 0x5f9bf60c]   0
  40.     *** [Hash 0x6962e498]   1
  41.     *** [Hash 0x6be92c72]   0
  42.     *** [Hash 0x6f177a79]   0
  43.     *** [Hash 0x7442ace6]   1
  44.     *** [Hash 0x74824502]   1
  45.     *** [Hash 0x7a148ebc]   0
  46.     *** [Hash 0x7ae862a6]   0
  47.     *** [Hash 0x8040ea88]   28571
  48.     *** [Hash 0x8045c1b4]   1
  49.     *** [Hash 0x837c6b5c]   599612461
  50.     *** [Hash 0x86319b9f]   1
  51.     *** [Hash 0x875516cf]   0
  52.     *** [Hash 0x8857c26f]   0
  53.     *** [Hash 0x899520b9]   2
  54.     *** [Hash 0x8a7512d7]   -1972038953
  55.     *** [Hash 0x91f755f3]   0
  56.     *** [Hash 0x92baf270]   0
  57.     *** [Hash 0x9313c759]   0
  58.     *** [Hash 0x93f2327b]   -334286542
  59.     *** [Hash 0x94b1117a]   -1
  60.     *** [Hash 0x962aeb1a]   1
  61.     *** [Hash 0x96c12323]   1
  62.     *** [Hash 0x9abd84b5]   -1698855755
  63.     *** [Hash 0xa461daa9]   1
  64.     *** [Hash 0xa69f72d5]   0
  65.     *** [Hash 0xa89ac41a]   1
  66.     *** [Hash 0xb22f037a]   0
  67.     *** [Hash 0xb7b857ae]   1
  68.     *** [Hash 0xb9201184]   0
  69.     *** [Hash 0xb967bb7b]   0
  70.     *** [Hash 0xc16170c0]   0
  71.     *** [Hash 0xc377e795]   50000
  72.     *** [Hash 0xc46d5eba]   1
  73.     *** [Hash 0xc773dd97]   99
  74.     *** [Hash 0xc7cccc57]   0
  75.     *** [Hash 0xd7ec9987]   1
  76.     *** [Hash 0xd9b3b63c]   1
  77.     *** [Hash 0xdc23368e]   0
  78.     *** [Hash 0xe40b2520]   1
  79.     *** [Hash 0xe7bd0fde]   0
  80.     *** [Hash 0xe82c6a14]   16
  81.     *** [Hash 0xe9b3b96d]   0
  82.     *** [Hash 0xebfcdcac]   28571
  83.     *** [Hash 0xec133132]   -334286542
  84.     *** [Hash 0xec4e19ce]   0
  85.     *** [Hash 0xf415f8ba]   1
  86.     *** [Hash 0xfdbd2de7]   1
  87.     DONE DUMPING PROPERTIES
  88.     DONE DUMPING PIECES
  89. #endif
  90. @insertpiece( SetCrossPlatformSettings )
  91. @insertpiece( DeclareUvModifierMacros )
  92.  
  93. // START UNIFORM DECLARATION
  94.  
  95.    
  96.         @insertpiece( PassDecl )
  97.    
  98.     @insertpiece( MaterialDecl )
  99.     @insertpiece( InstanceDecl )
  100.     @insertpiece( PccManualProbeDecl )
  101.  
  102. @insertpiece( custom_ps_uniformDeclaration )
  103. // END UNIFORM DECLARATION
  104. struct PS_INPUT
  105. {
  106. @insertpiece( VStoPS_block )
  107. };
  108.  
  109.  
  110.  
  111.  
  112.  
  113. @insertpiece( DeclPlanarReflTextures )
  114. @insertpiece( DeclAreaApproxTextures )
  115.  
  116.  
  117.  
  118.  
  119. Buffer<uint> f3dGrid : register(t1);
  120. Buffer<float4> f3dLightList : register(t2);
  121.  
  122.  
  123.  
  124. #define ROUGHNESS material.kS.w
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142. @insertpiece( DeclDecalsSamplers )
  143.  
  144. @insertpiece( DeclShadowMapMacros )
  145. @insertpiece( DeclShadowSamplers )
  146. @insertpiece( DeclShadowSamplingFuncs )
  147.  
  148. @insertpiece( DeclAreaLtcTextures )
  149. @insertpiece( DeclAreaLtcLightFuncs )
  150.  
  151. @insertpiece( DeclOutputType )
  152.  
  153. @insertpiece( custom_ps_functions )
  154.  
  155. @insertpiece( output_type ) main( PS_INPUT inPs
  156. , float4 gl_FragCoord : SV_Position
  157.  
  158. )
  159. {
  160.     PS_OUTPUT outPs;
  161.     @insertpiece( custom_ps_preExecution )
  162.  
  163.     Material material;
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.    
  172.    
  173.    
  174.    
  175.  
  176.    
  177.    
  178.    
  179.    
  180.  
  181.  
  182.  
  183. float4 diffuseCol;
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.    
  193.  
  194.     @insertpiece( custom_ps_posExecution )
  195.  
  196.  
  197.     return outPs;
  198.  
  199. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top