Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
412 B

  1. //===== Copyright (c) 1996-2008, Valve Corporation, All rights reserved. ======//
  2. float4x4 matWVP : register(c0);
  3. struct VS_IN
  4. {
  5. float4 ObjPos : POSITION;
  6. float2 TexCoord : TEXCOORD;
  7. };
  8. struct VS_OUT
  9. {
  10. float4 ProjPos : POSITION;
  11. float2 TexCoord : TEXCOORD;
  12. };
  13. VS_OUT main( VS_IN In )
  14. {
  15. VS_OUT Out;
  16. Out.ProjPos = mul( In.ObjPos, matWVP );
  17. Out.TexCoord = In.TexCoord;
  18. return Out;
  19. }