diff --git a/src/platform/win/OpenLara.sln b/src/platform/win/OpenLara.sln
index c49f444..2079fe9 100644
--- a/src/platform/win/OpenLara.sln
+++ b/src/platform/win/OpenLara.sln
@@ -1,25 +1,25 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Express 2013 for Windows Desktop
-VisualStudioVersion = 12.0.31101.0
+# Visual Studio 15
+VisualStudioVersion = 15.0.28307.1022
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OpenLara", "OpenLara.vcxproj", "{6935E070-59B8-418A-9241-70BACB4217B5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
- Profile|Win32 = Profile|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6935E070-59B8-418A-9241-70BACB4217B5}.Debug|Win32.ActiveCfg = Debug|Win32
{6935E070-59B8-418A-9241-70BACB4217B5}.Debug|Win32.Build.0 = Debug|Win32
- {6935E070-59B8-418A-9241-70BACB4217B5}.Profile|Win32.ActiveCfg = Profile|Win32
- {6935E070-59B8-418A-9241-70BACB4217B5}.Profile|Win32.Build.0 = Profile|Win32
{6935E070-59B8-418A-9241-70BACB4217B5}.Release|Win32.ActiveCfg = Release|Win32
{6935E070-59B8-418A-9241-70BACB4217B5}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {969CCE82-3511-4643-9273-4B4554C4E782}
+ EndGlobalSection
EndGlobal
diff --git a/src/platform/win/OpenLara.vcxproj b/src/platform/win/OpenLara.vcxproj
index 2c9aeb9..b4c093c 100644
--- a/src/platform/win/OpenLara.vcxproj
+++ b/src/platform/win/OpenLara.vcxproj
@@ -5,10 +5,6 @@
Debug
Win32
-
- Profile
- Win32
-
Release
Win32
@@ -30,14 +26,7 @@
Application
false
- v141_xp
- true
- NotSet
-
-
- Application
- false
- v141_xp
+ v141
true
NotSet
@@ -50,29 +39,23 @@
-
-
-
true
..\..\..\bin\
- ..\..\libs\;..\..\;$(VC_IncludePath);$(WindowsSdk_71A_IncludePath);
- ..\..\libs\openvr\;$(VC_LibraryPath_x86);$(WindowsSdk_71A_LibraryPath_x86);
+ ..\..\libs\;..\..\;$(VC_IncludePath);$(WindowsSDK_IncludePath);
+ ..\..\libs\openvr\;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);
+ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(VC_ExecutablePath_x86);$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(FxCopDir);$(MSBuild_ExecutablePath);$(VC_LibraryPath_x86);$(SystemRoot)
+ $(VC_ExecutablePath_x86);$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(MSBuild_ExecutablePath);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);
false
..\..\..\bin\
false
- ..\..\libs\;..\..\;$(VC_IncludePath);$(WindowsSdk_71A_IncludePath);
- ..\..\libs\openvr\;$(VC_LibraryPath_x86);$(WindowsSdk_71A_LibraryPath_x86);
-
-
- false
- ..\..\..\bin\
- false
- ..\..\;$(VC_IncludePath);$(WindowsSdk_71A_IncludePath);
- ..\..\libs\openvr\;$(VC_LibraryPath_x86);$(WindowsSdk_71A_LibraryPath_x86);
+ ..\..\libs\openvr\;$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);
+ ..\..\libs\;..\..\;$(VC_IncludePath);$(WindowsSDK_IncludePath);
+ $(VC_IncludePath);$(WindowsSDK_IncludePath);$(VC_ExecutablePath_x86);$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(FxCopDir);$(MSBuild_ExecutablePath);$(VC_LibraryPath_x86);$(SystemRoot)
+ $(VC_ExecutablePath_x86);$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(MSBuild_ExecutablePath);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);
@@ -121,35 +104,6 @@
true
-
-
- Level3
-
-
- Full
- true
- true
- PROFILE;MINIMAL;NOMINMAX;_CRT_SECURE_NO_WARNINGS;WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)
- false
- false
- MultiThreaded
- Strict
- false
- Speed
- /d2noftol3 %(AdditionalOptions)
- true
-
-
- Console
- true
- true
- true
- wcrt.lib;wsock32.lib;opengl32.lib;d3d11.lib;winmm.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)
- true
- false
- false
-
-
@@ -173,6 +127,7 @@
+
diff --git a/src/platform/win/OpenLara.vcxproj.filters b/src/platform/win/OpenLara.vcxproj.filters
index d20ce2b..52a1913 100644
--- a/src/platform/win/OpenLara.vcxproj.filters
+++ b/src/platform/win/OpenLara.vcxproj.filters
@@ -128,6 +128,9 @@
lang
+
+ gapi
+
diff --git a/src/shaders/compose.glsl b/src/shaders/compose.glsl
index 16264ff..4a47b76 100644
--- a/src/shaders/compose.glsl
+++ b/src/shaders/compose.glsl
@@ -148,7 +148,9 @@ varying vec4 vTexCoord; // xy - atlas coords, zw - trapezoidal correction
#ifdef TYPE_FLASH
vDiffuse.xyz += uMaterial.w;
- #else
+ #endif
+
+ #ifdef TYPE_ENTITY
vDiffuse *= uMaterial.w;
#endif