2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 18:24:55 +00:00

Refactor for blender 2.8 and new shader model

This commit is contained in:
Jack Andersen
2019-05-07 17:50:21 -10:00
parent 1f10769af3
commit 233d13ceb9
67 changed files with 2827 additions and 2105 deletions

View File

@@ -0,0 +1,18 @@
#extension GL_ARB_enhanced_layouts: enable
#extension GL_ARB_shader_image_load_store: enable
struct VertToFrag {
vec4 mvPos;
vec4 mvNorm;
vec4 color;
vec2 lightmapUv;
vec2 diffuseUv;
vec2 emissiveUv;
vec2 specularUv;
vec2 extendedSpecularUv;
vec2 reflectionUv;
vec2 alphaUv;
vec2 extUvs[3];
vec2 dynReflectionUvs[2];
float dynReflectionAlpha;
};