fix: increase lensflare intensity
This commit is contained in:
parent
782427b1c2
commit
17ae3b4889
2
main.js
2
main.js
|
@ -294,7 +294,7 @@ function lensflare(pos_x, pos_y) {
|
||||||
const u = (x / canvas.width - 0.5) * aspect_ratio;
|
const u = (x / canvas.width - 0.5) * aspect_ratio;
|
||||||
const v = y / canvas.height - 0.5;
|
const v = y / canvas.height - 0.5;
|
||||||
|
|
||||||
const intensity = 1.5 * 255;
|
const intensity = 4 * 255;
|
||||||
const uv_len = u * u + v * v;
|
const uv_len = u * u + v * v;
|
||||||
const uvd_x = u * uv_len;
|
const uvd_x = u * uv_len;
|
||||||
const uvd_y = v * uv_len;
|
const uvd_y = v * uv_len;
|
||||||
|
|
Loading…
Reference in a new issue