Revert "Add heat distortion shader for hot gases" (#40352)

This commit is contained in:
slarticodefast
2025-09-14 20:48:24 +02:00
committed by GitHub
parent b9ddcc9e9f
commit a38c6c1aca
7 changed files with 14 additions and 443 deletions

View File

@@ -12,23 +12,4 @@ public sealed partial class CCVars
public static readonly CVarDef<int> GasOverlayThresholds =
CVarDef.Create("net.gasoverlaythresholds", 20);
public static readonly CVarDef<float> GasOverlayHeatThreshold =
CVarDef.Create("net.gasoverlayheatthreshold",
0.05f,
CVar.SERVER | CVar.REPLICATED,
"Threshold for sending tile temperature updates to client in percent of distortion strength," +
"from 0.0 to 1.0. Example: 0.05 = 5%, which means heat distortion will appear in 20 'steps'.");
public static readonly CVarDef<float> GasOverlayHeatMinimum =
CVarDef.Create("net.gasoverlayheatminimum",
325f,
CVar.SERVER | CVar.REPLICATED,
"Temperature at which heat distortion effect will begin to apply.");
public static readonly CVarDef<float> GasOverlayHeatMaximum =
CVarDef.Create("net.gasoverlayheatmaximum",
1000f,
CVar.SERVER | CVar.REPLICATED,
"Temperature at which heat distortion effect will be at maximum strength.");
}