utkuatlastuzcu/tst / Engine /Shaders /DepthOnlyPixelShader.usf
utkuatlastuzcu's picture
download
raw
861 Bytes
/*=============================================================================
DepthOnlyPixelShader.hlsl: Depth-only pixel shader.
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
=============================================================================*/
#include "Common.usf"
#include "Material.usf"
#include "VertexFactory.usf"
void Main(
#if !MATERIALBLENDING_SOLID
FVertexFactoryInterpolants FactoryInterpolants,
float3 CameraVector : TEXCOORD4,
float4 PixelPosition : TEXCOORD5,
OPTIONAL_FacingSign
#endif
out float4 OutColor : COLOR0
)
{
#if !MATERIALBLENDING_SOLID
FMaterialParameters MaterialParameters = GetMaterialParameters(FactoryInterpolants);
CalcMaterialParameters(MaterialParameters, FacingSign, CameraVector, PixelPosition);
GetMaterialClipping(MaterialParameters);
#endif
OutColor = 0;
}

Xet Storage Details

Size:
861 Bytes
·
Xet hash:
27cfd9036cfb0288a44f85681015d46f706e19ca0db6ad864a360649fda1f47b

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.