Add default shader include for iw4 with code constants

This commit is contained in:
Jan
2022-09-17 23:09:23 +02:00
parent 08278c451a
commit ee2a5b57f4
3 changed files with 135 additions and 4 deletions

View File

@ -1,3 +1,5 @@
#include "include/IW4.hlsl"
struct VSInput
{
float3 position : POSITION;
@ -12,9 +14,6 @@ struct VSOutput
half2 texcoord : TEXCOORD0;
};
extern float4x4 viewProjectionMatrix;
extern float4x4 worldMatrix;
VSOutput VSMain(VSInput vin)
{
VSOutput vout = (VSOutput)0;