mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 03:59:50 +02:00
heat: enhanced heat
This commit is contained in:
1 parent
647c9240a5
commit
7fe35243db
1 file changed
+7
-8
@@ -45,24 +45,23 @@ void main() {
|
|||||||
float alpha = (1.0 - penetrationChance) * 0.5;
|
float alpha = (1.0 - penetrationChance) * 0.5;
|
||||||
|
|
||||||
if (canSplash) {
|
if (canSplash) {
|
||||||
|
// he
|
||||||
if (spaced) {
|
if (spaced) {
|
||||||
if (isAffectedBySpaced) {
|
csm_FragColor = vec4(1.0, 0.0, 1.0, 0.5);
|
||||||
csm_FragColor = vec4(1.0, 0.0, 0.0, 0.5);
|
|
||||||
} else {
|
|
||||||
csm_FragColor = vec4(1.0, 0.0, 0.0, alpha);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
// color taken directly from the game
|
|
||||||
csm_FragColor = vec4(1.0, 0.392, 0.0, alpha);
|
csm_FragColor = vec4(1.0, 0.392, 0.0, alpha);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (spaced) {
|
if (spaced) {
|
||||||
if (isAffectedBySpaced) {
|
if (isAffectedBySpaced) {
|
||||||
csm_FragColor = vec4(0.0, 0.0, 1.0, 0.5);
|
// hc
|
||||||
|
csm_FragColor = vec4(1.0, 0.0, 1.0, 0.5);
|
||||||
} else {
|
} else {
|
||||||
csm_FragColor = vec4(0.0, 0.0, 1.0, alpha);
|
// ap, ap_cr
|
||||||
|
csm_FragColor = vec4(1.0, 0.0, 1.0, alpha);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
// ap, ap_cr, hc
|
||||||
csm_FragColor = vec4(1.0, 0.0, 0.0, alpha);
|
csm_FragColor = vec4(1.0, 0.0, 0.0, alpha);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user