Skip to content

Commit 9ad9807

Browse files
committed
good for now
1 parent d130cef commit 9ad9807

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/assets/js/rain.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ void main() {
205205
// float r1_bright = 0.10 + lantern_inf * 0.45;
206206
// col += r1_color * r1 * r1_bright;
207207
208-
float r2 = rain_layer(uv_aspect, 80.0, 7.5, 0.07, 0.6, 0.12, 200.0);
208+
float r2 = rain_layer(uv_aspect, 80.0, 7.5, 0.12, 0.4, 0.10, 200.0);
209209
vec3 r2_color = mix(rain_cool_2, rain_warm, lantern_inf * 2.0);
210210
float r2_bright = 0.08 + lantern_inf * 0.40;
211211
col += r2_color * r2 * r2_bright;
212212
213-
float r3 = rain_layer(uv_aspect, 50.0, 6.5, 0.04, 0.4, 0.16, 300.0);
213+
float r3 = rain_layer(uv_aspect, 50.0, 6.5, 0.04, 0.4, 0.15, 300.0);
214214
vec3 r3_color = mix(rain_cool_3, rain_warm, lantern_inf * 2.0);
215215
float r3_bright = 0.18 + lantern_inf * 0.55;
216216
col += r3_color * r3 * r3_bright;

src/templates/layout.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<head>
22
<meta content="width=device-width, initial-scale=1" name="viewport" />
3-
<link rel="stylesheet" href="/css/index.css" />
3+
<link rel="stylesheet" href="./css/index.css" />
44
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg">
55
<link href="atom.xml" type="application/atom+xml" rel="alternate" title="Sitewide Atom feed" />
66
<title>{{title}}</title>
@@ -25,6 +25,6 @@
2525
</main>
2626
{{#if home}}
2727
<canvas id="rain-canvas"></canvas>
28-
<script src="/js/rain.js"></script>
28+
<script src="./js/rain.js"></script>
2929
{{/if}}
3030
</body>

0 commit comments

Comments
 (0)