mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
fix: spaced armor highlitging
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user