fix: spaced armor highlitging

This commit is contained in:
TrèsAbhi committed 2024-01-15 21:58:03 -06:00
1 parent 730ad56677
commit c76fc97922
1 file changed
+1 -11
@@ -89,17 +89,7 @@ void main() {
} }
if (isSpaced) { if (isSpaced) {
// if (isExternalModule) { csm_FragColor = vec4(1.0, 0.0, 1.0, (1.0 - penetrationChance) * 0.5);
// csm_FragColor = vec4(0.5, 0.0, 1.0, 0.5);
// } else {
// if (isExplosive) {
// csm_FragColor = vec4(1.0, 0.0, 1.0, 0.5);
// } else {
// csm_FragColor = vec4(1.0, 0.0, 1.0, (1.0 - penetrationChance) * 0.5);
// }
// }
csm_FragColor = vec4(0.0);
} else { } else {
csm_FragColor = vec4(1.0, splashChance * 0.392, 0.0, (1.0 - penetrationChance) * 0.5); csm_FragColor = vec4(1.0, splashChance * 0.392, 0.0, (1.0 - penetrationChance) * 0.5);
} }