Uniforms.hlsl 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Vertex shader parameters
  2. uniform float3 cCameraPos : register(C0);
  3. uniform float3x3 cCameraRot : register(C1);
  4. uniform float4 cDepthMode : register(C4);
  5. uniform float3 cFrustumSize : register(C5);
  6. uniform float4 cGBufferOffsets : register(C6);
  7. uniform float3 cLightDir : register(C7);
  8. uniform float4 cLightPos : register(C8);
  9. uniform float3x3 cLightVecRot: register(C9);
  10. uniform float4x3 cModel : register(C12);
  11. uniform float4x4 cSpotProj : register(C15);
  12. uniform float4x4 cViewProj : register(C19);
  13. uniform float4 cUOffset : register(C23);
  14. uniform float4 cVOffset : register(C24);
  15. uniform float3 cViewRightVector : register(C25);
  16. uniform float3 cViewUpVector : register(C26);
  17. uniform float4x3 cZone : register(C27);
  18. uniform float4x4 cShadowProj[4] : register(C30);
  19. uniform float4x3 cSkinMatrices[64] : register(C46);
  20. uniform float4 cVertexLights[6*3] : register(C238);
  21. // Pixel shader parameters
  22. uniform float3 cAmbientStartColor : register(C0);
  23. uniform float3 cAmbientEndColor : register(C1);
  24. uniform float2 cDepthReconstruct : register(C2);
  25. uniform float4 cFogParams : register(C3);
  26. uniform float3 cFogColor : register(C4);
  27. uniform float4 cLightColor : register(C5);
  28. uniform float4 cLightPosPS : register(C6);
  29. uniform float3 cLightDirPS : register(C7);
  30. uniform float4 cMatDiffColor : register(C8);
  31. uniform float3 cMatEmissiveColor : register(C9);
  32. uniform float2 cMatSpecProperties : register(C10);
  33. uniform float2 cSampleOffsets : register(C11);
  34. uniform float4 cShadowCubeAdjust : register(C12);
  35. uniform float4 cShadowDepthFade : register(C13);
  36. uniform float4 cShadowIntensity : register(C14);
  37. uniform float4 cShadowSplits : register(C15);
  38. uniform float4x4 cShadowProjPS[4] : register(C16);