mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-29 08:07:52 -05:00
Add default shader include for iw4 with code constants
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user