You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
21 lines
591 B
Plaintext
21 lines
591 B
Plaintext
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
PositionOnlyDepthOnlyVertexShader.hlsl: Depth-only vertex shader.
|
|
=============================================================================*/
|
|
|
|
#include "Common.usf"
|
|
#include "Material.usf"
|
|
#include "VertexFactory.usf"
|
|
|
|
|
|
void Main(
|
|
FPositionOnlyVertexFactoryInput Input,
|
|
out float4 OutPosition : SV_POSITION)
|
|
{
|
|
float4 WorldPos = VertexFactoryGetWorldPosition(Input);
|
|
ISOLATE
|
|
{
|
|
OutPosition = mul(WorldPos, View.TranslatedWorldToClip);
|
|
}
|
|
} |