diff --git a/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp b/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp index 5aee50be6..d97812c2e 100644 --- a/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp +++ b/Runtime/Graphics/Shaders/CFluidPlaneShaderGLSL.cpp @@ -119,6 +119,32 @@ static const char* FSDoor = "#version 330\n" BOO_GLSL_BINDING_HEAD "\n" +"struct Light\n" +"{\n" +" vec4 pos;\n" +" vec4 dir;\n" +" vec4 color;\n" +" vec4 linAtt;\n" +" vec4 angAtt;\n" +"};\n" +"struct Fog\n" // Reappropriated for indirect texture scaling +"{\n" +" vec4 color;\n" +" float indScale;\n" +" float start;\n" +"};\n" +"\n" +"UBINDING2 uniform LightingUniform\n" +"{\n" +" Light lights[" _XSTR(URDE_MAX_LIGHTS) "];\n" +" vec4 ambient;\n" +" vec4 kColor0;\n" +" vec4 kColor1;\n" +" vec4 kColor2;\n" +" vec4 kColor3;\n" +" Fog fog;\n" +"};\n" +"\n" "struct VertToFrag\n" "{\n" " vec4 mvPos;\n" diff --git a/hecl b/hecl index 2064c5ed2..191ac39ac 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit 2064c5ed258337bf71a2c855ab17592abf86e0d1 +Subproject commit 191ac39ac3d7246f3ad020d75017a663f94397fa