32 float heat = sin(tc.y * 80.0 +
time_f * 9.0) * 0.006;
33 heat += sin(tc.x * 35.0 -
time_f * 4.0) * 0.004;
34 vec3 c = texture(samp, clamp(tc + vec2(heat, heat * 0.4), 0.0, 1.0)).rgb;
35 float edge = smoothstep(0.08, 0.35, dot(p, p));
36 float pulse = 0.55 + 0.45 * sin(
time_f * 3.0);
37 vec3
lava = vec3(1.0, 0.32, 0.02);
38 c = mix(c,
lava + c * 0.35, edge * pulse * 0.55);