mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 03:55:11 +00:00
don't scale the noise to 240 height
This commit is contained in:
parent
33b4bd7f8d
commit
fca5ed8846
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ static struct ShaderProgram *gfx_opengl_create_and_load_new_shader(uint32_t shad
|
|||
}
|
||||
|
||||
if (opt_alpha && opt_noise) {
|
||||
append_line(fs_buf, &fs_len, "texel.a *= floor(random(vec3(floor(gl_FragCoord.xy * (240.0 / float(window_height))), float(frame_count))) + 0.5);");
|
||||
append_line(fs_buf, &fs_len, "texel.a *= floor(random(vec3(floor(gl_FragCoord.xy * float(window_height)), float(frame_count))) + 0.5);");
|
||||
}
|
||||
|
||||
if (opt_alpha) {
|
||||
|
|
Loading…
Reference in a new issue