- opengl blur shader

- the "heal" console command cancels stun
- the camera shakes when the sub hits something only if controlled character is inside the sub
This commit is contained in:
Regalis
2016-05-18 11:45:38 +03:00
parent 63e5f02057
commit 1f2937fad1
6 changed files with 12 additions and 5 deletions
+5
View File
@@ -36,7 +36,12 @@ namespace Barotrauma
BackgroundCreatureManager = new BackgroundCreatureManager("Content/BackgroundSprites/BackgroundCreaturePrefabs.xml");
#if LINUX
var blurEffect = content.Load<Effect>("blurshader_opengl");
#else
var blurEffect = content.Load<Effect>("blurshader");
#endif
lightBlur = new BlurEffect(blurEffect, 0.001f, 0.001f);