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

25 lines
509 B
Plaintext

//====== Copyright © 1996-2004, Valve Corporation, All rights reserved. =======
//
// Purpose:
//
//=============================================================================
#include "common_ps_fxc.h"
sampler EnvmapSampler : register( s0 );
struct PS_INPUT
{
float3 eyeToVertVector : TEXCOORD0;
float4 vertexColor : COLOR;
};
HALF4 main( PS_INPUT i ) : COLOR
{
HALF4 color;
color.xyz = texCUBE( EnvmapSampler, i.eyeToVertVector );
color.a = 1.0f;
color *= i.vertexColor;
return color;
}