Sfoglia il codice sorgente

Merge pull request #378 from DavidWyand-GG/UnderwaterShadersDisable

Underwater caustics default to off
David Wyand 12 anni fa
parent
commit
fd467070b3

+ 1 - 1
Templates/Empty/game/core/scripts/client/postFx/caustics.cs

@@ -52,7 +52,7 @@ singleton ShaderData( PFX_CausticsShader )
 singleton PostEffect( CausticsPFX )
 {
    requirements = "None";
-   isEnabled = true;
+   isEnabled = false;
    renderTime = "PFXBeforeBin";
    renderBin = "ObjTranslucentBin";      
    //renderPriority = 0.1;

+ 1 - 1
Templates/Full/game/core/scripts/client/postFx/caustics.cs

@@ -51,7 +51,7 @@ singleton ShaderData( PFX_CausticsShader )
 singleton PostEffect( CausticsPFX )
 {
    requirements = "None";
-   isEnabled = true;
+   isEnabled = false;
    renderTime = "PFXBeforeBin";
    renderBin = "ObjTranslucentBin";      
    //renderPriority = 0.1;