Files
MinecraftLegends/Win32.DX11.Release/data/shaders/gnm/Template_vv.pssl
T
2026-03-08 15:34:38 -05:00

25 lines
406 B
Plaintext

#include "ShaderConstantsGNM.h"
struct VS_Input
{
float4 position : POSITION;
float4 color : COLOR;
};
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 = VSInput.color;
PSInput.position = mul(WORLDVIEWPROJ, VSInput.position);
return PSInput;
}