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.
26 lines
478 B
26 lines
478 B
//========== Copyright (c) Valve Corporation, All rights reserved. ==========//
|
|
|
|
#ifdef PIXELSHADER
|
|
#define VS_OUTPUT PS_INPUT
|
|
#endif
|
|
|
|
struct VS_OUTPUT
|
|
{
|
|
#ifndef PIXELSHADER
|
|
float4 projPos : POSITION;
|
|
#endif
|
|
|
|
float2 texCoord : TEXCOORD0;
|
|
float4 worldPos_projPosZ : TEXCOORD1;
|
|
float4 argbcolor : COLOR;
|
|
|
|
#ifndef PIXELSHADER
|
|
#if !defined( _X360 ) && !defined( SHADER_MODEL_VS_3_0 )
|
|
float fog : FOG;
|
|
#endif
|
|
#endif
|
|
};
|
|
|
|
#ifdef PIXELSHADER
|
|
#undef VS_OUTPUT
|
|
#endif
|