Skip to content

Commit

Permalink
Removed unused glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
jobtalle committed Jun 1, 2023
1 parent 1a84291 commit 36ab938
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions js/gl/shaderPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ export class ShaderPreview extends Shader {
out vec4 color;
void main() {
const float epsilon = .000001;
vec2 uv = vec2(vUv.x, 1. - vUv.y);
vec2 delta = vec2(uv.x, uv.y / aspect) - center;
vec4 pixel = texture(source, center + (uv - center) / zoom);
color = vec4(
Expand Down

0 comments on commit 36ab938

Please sign in to comment.