Skip to content

Commit

Permalink
Some spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
einarf committed Jun 4, 2020
1 parent 7d6a104 commit c120d37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arcade/experimental/examples/shader_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __init__(self, width, height, title):
fragment_shader="""
#version 330
uniform sampler2D baground;
uniform sampler2D background;
uniform float time;
in vec2 v_uv;
Expand All @@ -40,7 +40,7 @@ def __init__(self, width, height, title):
void main() {
vec2 pos = v_uv * 1.0 - vec2(0.5);
vec2 uv = v_uv + normalize(pos) + sin(length(pos) * 10 - time);
out_color = texture(baground, uv);
out_color = texture(background, uv);
}
"""
)
Expand Down

0 comments on commit c120d37

Please sign in to comment.