source-engine/materialsystem/stdshaders/debugmorphaccumulator_ps30.fxc
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

17 lines
350 B
Plaintext

#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 );
}