Team Fortress 2 Source Code as on 22/4/2020
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
333 B

  1. // DYNAMIC: "COMPRESSED_VERTS" "0..1"
  2. // DYNAMIC: "DOWATERFOG" "0..1"
  3. #include "common_vs_fxc.h"
  4. struct VS_INPUT
  5. {
  6. float4 vPos : POSITION;
  7. };
  8. struct VS_OUTPUT
  9. {
  10. float4 vProjPos : POSITION;
  11. };
  12. VS_OUTPUT main( const VS_INPUT v )
  13. {
  14. VS_OUTPUT o = ( VS_OUTPUT )0;
  15. o.vProjPos = mul( v.vPos, cModelViewProj );
  16. return o;
  17. }