Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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

#define HDRTYPE HDR_TYPE_NONE
#include "common_ps_fxc.h"
struct PS_INPUT
{
float2 vTexCoord : TEXCOORD0;
};
sampler MorphAccumulator : register( s0 );
HALF4 main( PS_INPUT i ) : COLOR
{
float4 vDeltas = tex2D( MorphAccumulator, i.vTexCoord );
return float4( abs( vDeltas.x ), abs( vDeltas.z ), abs( vDeltas.y ) + abs( vDeltas.w ), 1.0f );
}