Skip to content

Commit

Permalink
Switch order of uv_scale and uv_offset.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Jun 14, 2021
1 parent 9a91a63 commit 2cdc7d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renderers/opengl/renderer.lisp
Expand Up @@ -183,7 +183,7 @@ in vec2 uv;
out vec4 out_color;
void main(){
out_color = texture(image, (uv+uv_offset)/uv_scale);
out_color = texture(image, (uv/uv_scale)+uv_offset);
}")))

(defmethod alloy:allocate ((renderer renderer))
Expand Down

0 comments on commit 2cdc7d9

Please sign in to comment.