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.

16 lines
350 B

  1. #define HDRTYPE HDR_TYPE_NONE
  2. #include "common_ps_fxc.h"
  3. struct PS_INPUT
  4. {
  5. float2 vTexCoord : TEXCOORD0;
  6. };
  7. sampler MorphAccumulator : register( s0 );
  8. HALF4 main( PS_INPUT i ) : COLOR
  9. {
  10. float4 vDeltas = tex2D( MorphAccumulator, i.vTexCoord );
  11. return float4( abs( vDeltas.x ), abs( vDeltas.z ), abs( vDeltas.y ) + abs( vDeltas.w ), 1.0f );
  12. }