From dd2c7661e3b1fa892615c9b8080f56b44f99a315 Mon Sep 17 00:00:00 2001 From: juanjp600 Date: Mon, 16 Oct 2017 22:53:35 -0300 Subject: [PATCH] Reverted back to Reach profile, changed damageshader shader model to match other shaders --- .../BarotraumaClient/Source/GameMain.cs | 4 ++-- .../BarotraumaShared/Content/Content.mgcb | 2 +- .../BarotraumaShared/Content/blurshader.xnb | Bin 2184 -> 2187 bytes .../BarotraumaShared/Content/damageshader.fx | 2 +- .../BarotraumaShared/Content/damageshader.xnb | Bin 1238 -> 1241 bytes .../BarotraumaShared/Content/watershader.xnb | Bin 2597 -> 2600 bytes 6 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Barotrauma/BarotraumaClient/Source/GameMain.cs b/Barotrauma/BarotraumaClient/Source/GameMain.cs index a9982d023..9b58a6288 100644 --- a/Barotrauma/BarotraumaClient/Source/GameMain.cs +++ b/Barotrauma/BarotraumaClient/Source/GameMain.cs @@ -146,8 +146,8 @@ namespace Barotrauma { GraphicsWidth = Config.GraphicsWidth; GraphicsHeight = Config.GraphicsHeight; - GraphicsDeviceManager.GraphicsProfile = GraphicsProfile.HiDef; - GraphicsDeviceManager.PreferredBackBufferFormat = SurfaceFormat.Bgra32; + GraphicsDeviceManager.GraphicsProfile = GraphicsProfile.Reach; + GraphicsDeviceManager.PreferredBackBufferFormat = SurfaceFormat.Color; GraphicsDeviceManager.PreferMultiSampling = false; GraphicsDeviceManager.SynchronizeWithVerticalRetrace = Config.VSyncEnabled; diff --git a/Barotrauma/BarotraumaShared/Content/Content.mgcb b/Barotrauma/BarotraumaShared/Content/Content.mgcb index 65666e6c8..9cf60ed0f 100644 --- a/Barotrauma/BarotraumaShared/Content/Content.mgcb +++ b/Barotrauma/BarotraumaShared/Content/Content.mgcb @@ -5,7 +5,7 @@ /intermediateDir:obj/$(Platform) /platform:Windows /config: -/profile:HiDef +/profile:Reach /compress:False #-------------------------------- References --------------------------------# diff --git a/Barotrauma/BarotraumaShared/Content/blurshader.xnb b/Barotrauma/BarotraumaShared/Content/blurshader.xnb index 800b942e2f3367c4000064018f8b4cccd7cff8d0..19510c4b47b013dd29f6cdbe30d089db4ff1ed41 100644 GIT binary patch delta 35 qcmeAW>=xvS@N+6>W$5N$U|_78$m7LjtY@ZYpl4`iWV$g{n*#ukj|bNP delta 32 jcmeAc>=5LM@N+6>W$55wU|=kt$m7Lspa+H<6SO%1c@+mL diff --git a/Barotrauma/BarotraumaShared/Content/damageshader.fx b/Barotrauma/BarotraumaShared/Content/damageshader.fx index 6b67aacd7..554df8415 100644 --- a/Barotrauma/BarotraumaShared/Content/damageshader.fx +++ b/Barotrauma/BarotraumaShared/Content/damageshader.fx @@ -33,6 +33,6 @@ technique StencilShader { pass Pass1 { - PixelShader = compile ps_4_0_level_9_3 main(); + PixelShader = compile ps_4_0_level_9_1 main(); } } diff --git a/Barotrauma/BarotraumaShared/Content/damageshader.xnb b/Barotrauma/BarotraumaShared/Content/damageshader.xnb index 73688a666679a3c77f476aecba6df79c9c79cb3e..ca70b20de0fe6c4499cdee6c618159f5054a122c 100644 GIT binary patch delta 167 zcmcb{d6SbT!q2IkmEk4}0|R5#L>@0LV?8rH13g1CBh!hoX8O#>!_F}>2rvMp85mg@ zm^c`ic^DWO8kiXvTq2yD4R?q#Z%Fx`pIy7UBDwB-+{8mMj0}_I8N($Uf$A9<_#2!U z7??pcBg2yo3>;4uOzvY;(PU;|Z(v~f4-y2@Pa3#@ikKNVfc*arOki;aCI$}v2IkGT I8GkbY0P_wgwg3PC delta 141 zcmcb~d5x1N!q2IkmEjr-0|R6EL>@1813fUDm|(^dxS}O<;w))_DVaZR@_uRF^kqsK zt3siN-o&FZjEs|&7{eu;7#NtD8TcC*8J=ul;CQmY5oih{kUx1MqlzXY1A7Al!~X_m kh9^M!Ndp&9F(U&9kpI7d35XdP7?>D1fSNboWBkno0GSsj%K!iX diff --git a/Barotrauma/BarotraumaShared/Content/watershader.xnb b/Barotrauma/BarotraumaShared/Content/watershader.xnb index cd5992cd670506e4c30ff157669bad3d22772581..e132a4bf9bfe5d3361fa44560795968078003f2f 100644 GIT binary patch delta 35 qcmZ1~vO!q2Ikl|h4xfq}7VB99lBv7VWpfu5n6k?F?R6Py5$DhN~n delta 32 kcmZ1>vQ&g8!q2Ikl|hw@fq}7nB99llfgTucOgO;_0D2P#rvLx|