PPBase.bslinc 495 B

123456789101112131415161718192021222324252627282930313233343536
  1. Technique : base("PPBase") =
  2. {
  3. Pass =
  4. {
  5. DepthWrite = false;
  6. DepthRead = false;
  7. Common =
  8. {
  9. struct VStoFS
  10. {
  11. float4 position : SV_POSITION;
  12. float2 uv0 : TEXCOORD0;
  13. };
  14. };
  15. Vertex =
  16. {
  17. struct VertexInput
  18. {
  19. float2 screenPos : POSITION;
  20. float2 uv0 : TEXCOORD0;
  21. };
  22. VStoFS main(VertexInput input)
  23. {
  24. VStoFS output;
  25. output.position = float4(input.screenPos, 0, 1);
  26. output.uv0 = input.uv0;
  27. return output;
  28. }
  29. };
  30. };
  31. };