Burning Sea fireball is now slightly transparent
This commit is contained in:
1 parent
df8b3d3e0b
commit
31487317c3
4 files changed
+3
-1
No files matched your search
@@ -24,7 +24,7 @@ float4 PixelShaderFunction(float4 sampleColor : COLOR0, float2 coords : TEXCOORD
|
||||
float swirlCosine = sin(swirlRotation + 1.5707);
|
||||
float2x2 swirlRotationMatrix = float2x2(swirlCosine, -swirlSine, swirlSine, swirlCosine);
|
||||
float2 swirlCoordinates = mul(centeredCoords, swirlRotationMatrix) + 0.5;
|
||||
return tex2D(uImage0, swirlCoordinates) * sampleColor * swirlColorFade;
|
||||
return tex2D(uImage0, swirlCoordinates) * float4(sampleColor.rgb, uOpacity) * swirlColorFade;
|
||||
}
|
||||
technique Technique1
|
||||
{
|
||||
|
||||
Binary file not shown.
@@ -218,6 +218,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Vector2 scale = Projectile.Size / worleyNoise.Size() * 2f;
|
||||
float spinRotation = Main.GlobalTimeWrappedHourly * 2.4f;
|
||||
|
||||
GameShaders.Misc["CalamityMod:ExoVortex"].UseOpacity(1f);
|
||||
GameShaders.Misc["CalamityMod:ExoVortex"].Apply();
|
||||
|
||||
// Draw the vortex.
|
||||
|
||||
@@ -168,6 +168,7 @@ namespace CalamityMod.Projectiles.Magic
|
||||
Vector2 drawScale = Projectile.Size / TheodoreJNoise.Size() * 1.25f;
|
||||
float rotation = Main.GlobalTimeWrappedHourly * 4.2f;
|
||||
|
||||
GameShaders.Misc["CalamityMod:ExoVortex"].UseOpacity(0.6f);
|
||||
GameShaders.Misc["CalamityMod:ExoVortex"].Apply();
|
||||
|
||||
// Big fucking fireball
|
||||
|
||||
Reference in new issue
Block a user