diff options
| author | yum <yum.food.vr@gmail.com> | 2023-11-19 17:55:22 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2023-11-19 17:55:22 -0800 |
| commit | 8427cb479e6ea389e92bac7f9bc73294038059d4 (patch) | |
| tree | a371254dbd5600784e39264c16960ddcc6f13443 /Shaders/cloud/eyes_data.cginc | |
| parent | db026d39d481d22155afc1ac9eda0b4496c9f7c2 (diff) | |
Still a WIP, kinda looks like shit
Diffstat (limited to 'Shaders/cloud/eyes_data.cginc')
| -rw-r--r-- | Shaders/cloud/eyes_data.cginc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Shaders/cloud/eyes_data.cginc b/Shaders/cloud/eyes_data.cginc new file mode 100644 index 0000000..f08887b --- /dev/null +++ b/Shaders/cloud/eyes_data.cginc @@ -0,0 +1,24 @@ +#ifndef __EYES_DATA_INC__ +#define __EYES_DATA_INC__ + +struct appdata +{ + float4 position : POSITION; + float2 uv : TEXCOORD0; + float3 normal : NORMAL; +}; + +struct v2f +{ + float4 position : SV_POSITION; + float2 uv : TEXCOORD0; + float3 normal : TEXCOORD1; + float4 worldPos : TEXCOORD2; + + #if defined(VERTEXLIGHT_ON) + float3 vertexLightColor : TEXCOORD3; + #endif +}; + +#endif // __EYES_DATA_INC__ + |
