You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
19 lines
647 B
Plaintext
19 lines
647 B
Plaintext
// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
OcclusionQueryVertexShader.hlsl: Vertex shader for drawing occlusion queries.
|
|
=============================================================================*/
|
|
|
|
#include "Common.usf"
|
|
|
|
float4 StencilingGeometryPosAndScale;
|
|
|
|
void Main(
|
|
in float4 InPosition : ATTRIBUTE0,
|
|
out float4 OutPosition : SV_POSITION
|
|
)
|
|
{
|
|
float3 TransformedPosition = InPosition * StencilingGeometryPosAndScale.w + StencilingGeometryPosAndScale.xyz;
|
|
OutPosition = mul(float4(TransformedPosition,1), View.TranslatedWorldToClip);
|
|
}
|