mirror of
https://git.stillkill.net/MinecraftLeak/MinecraftLegends.git
synced 2026-10-22 21:32:19 +01:00
24 lines
398 B
Plaintext
24 lines
398 B
Plaintext
#include "ShaderConstantsGNM.h"
|
|
|
|
struct VS_Input
|
|
{
|
|
float3 position : POSITION;
|
|
};
|
|
|
|
|
|
struct PS_Input
|
|
{
|
|
float4 position : S_POSITION;
|
|
float4 color : COLOR;
|
|
};
|
|
|
|
|
|
PS_Input main( in VS_Input VSInput )
|
|
{
|
|
PS_Input PSInput = (PS_Input)0;
|
|
|
|
PSInput.color = CURRENT_COLOR;
|
|
PSInput.position = mul(WORLDVIEWPROJ, float4(VSInput.position, 1));
|
|
|
|
return PSInput;
|
|
} |