mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-23 05:42:19 +01:00
Initial commit
This commit is contained in:
commit
86efc669e9
5013 files changed
+237743
No files matched your search
@@ -0,0 +1,29 @@
|
||||
|
||||
#include "ShaderConstantsGNM.h"
|
||||
|
||||
struct VS_Input {
|
||||
float3 position : POSITION;
|
||||
float4 color : COLOR;
|
||||
float2 uv0 : TEXCOORD_0;
|
||||
float2 uv1 : TEXCOORD_1;
|
||||
};
|
||||
|
||||
struct PS_Input {
|
||||
float4 position : S_POSITION;
|
||||
float4 color : COLOR;
|
||||
float2 uv0 : TEXCOORD_0;
|
||||
float2 uv1 : TEXCOORD_1;
|
||||
};
|
||||
|
||||
PS_Input main(in VS_Input VSInput)
|
||||
{
|
||||
PS_Input PSInput = (PS_Input)0;
|
||||
|
||||
PSInput.position = mul(WORLDVIEWPROJ, float4(VSInput.position, 1));
|
||||
PSInput.color = VSInput.color;
|
||||
PSInput.uv0.x = VSInput.uv0.x*2.0f;
|
||||
PSInput.uv0.y = VSInput.uv0.y*10.0f;
|
||||
PSInput.uv1 = VSInput.uv1;
|
||||
|
||||
return PSInput;
|
||||
}
|
||||
Reference in new issue
Block a user