🔧 Fix implicit conversion
This commit is contained in:
@@ -45,7 +45,7 @@ vec4 getMasks(float progress) {
|
|||||||
float atomMask = getRelativeEdgeMask(0.2);
|
float atomMask = getRelativeEdgeMask(0.2);
|
||||||
atomMask = max(0.0, atomMask - showerMask);
|
atomMask = max(0.0, atomMask - showerMask);
|
||||||
atomMask *= streakMask;
|
atomMask *= streakMask;
|
||||||
atomMask *= sqrt(1 - fadeProgress * fadeProgress);
|
atomMask *= sqrt(1.0 - fadeProgress * fadeProgress);
|
||||||
|
|
||||||
// Make some particles visible in the streaks.
|
// Make some particles visible in the streaks.
|
||||||
showerMask += 0.05 * streakMask;
|
showerMask += 0.05 * streakMask;
|
||||||
|
|||||||
Reference in New Issue
Block a user