MetaInput.hlsl 576 B

1234567891011121314
  1. #ifndef UNIVERSAL_META_INPUT_INCLUDED
  2. #define UNIVERSAL_META_INPUT_INCLUDED
  3. #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/MetaPass.hlsl"
  4. #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl"
  5. #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl"
  6. #define MetaInput UnityMetaInput
  7. #define MetaFragment UnityMetaFragment
  8. float4 MetaVertexPosition(float4 positionOS, float2 uv1, float2 uv2, float4 uv1ST, float4 uv2ST)
  9. {
  10. return UnityMetaVertexPosition(positionOS.xyz, uv1, uv2, uv1ST, uv2ST);
  11. }
  12. #endif