This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,16 @@ uniform FrameInfo {
99}
1010frame_info;
1111
12- in vec2 interporlated_texture_coordinates ;
12+ in vec2 interpolated_texture_coordinates ;
1313
1414out vec4 frag_color;
1515
1616uniform sampler2D contents1;
1717uniform sampler2D contents2;
1818
1919void main() {
20- vec4 tex1 = texture(contents1, interporlated_texture_coordinates );
21- vec4 tex2 = texture(contents2, interporlated_texture_coordinates );
20+ vec4 tex1 = texture(contents1, interpolated_texture_coordinates );
21+ vec4 tex2 = texture(contents2, interpolated_texture_coordinates );
2222 frag_color = mix (
2323 tex1, tex2,
2424 clamp (frame_info.cursor_position.x / frame_info.window_size.x, 0.0 , 1.0 ));
Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ uniform_buffer;
1010in vec3 vertex_position;
1111in vec2 texture_coordinates;
1212
13- out vec2 interporlated_texture_coordinates ;
13+ out vec2 interpolated_texture_coordinates ;
1414
1515void main() {
1616 gl_Position = uniform_buffer.mvp * vec4 (vertex_position, 1.0 );
17- interporlated_texture_coordinates = texture_coordinates;
17+ interpolated_texture_coordinates = texture_coordinates;
1818}
Original file line number Diff line number Diff line change 22// Use of this source code is governed by a BSD-style license that can be
33// found in the LICENSE file.
44
5- in vec2 interporlated_texture_coordinates ;
5+ in vec2 interpolated_texture_coordinates ;
66
77out vec4 frag_color;
88
99uniform sampler2D texture_contents;
1010
1111void main() {
12- frag_color = texture(texture_contents, interporlated_texture_coordinates );
12+ frag_color = texture(texture_contents, interpolated_texture_coordinates );
1313}
You can’t perform that action at this time.
0 commit comments