mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
@@ -0,0 +1,25 @@
|
||||
#include "ShaderConstantsGNM.h"
|
||||
|
||||
struct VS_Input
|
||||
{
|
||||
float3 position : POSITION;
|
||||
float2 uv : TEXCOORD_0;
|
||||
};
|
||||
|
||||
|
||||
struct PS_Input
|
||||
{
|
||||
float4 position : S_POSITION;
|
||||
float2 uv : TEXCOORD_0;
|
||||
};
|
||||
|
||||
|
||||
PS_Input main( in VS_Input VSInput )
|
||||
{
|
||||
PS_Input PSInput = (PS_Input)0;
|
||||
|
||||
PSInput.uv = VSInput.uv * GLINT_UV_SCALE.xy;
|
||||
PSInput.position = mul(WORLDVIEWPROJ, float4(VSInput.position, 1));
|
||||
|
||||
return PSInput;
|
||||
}
|
||||
Reference in new issue
Block a user