From 12b71f2bb983e2bf67366b98a548b8b8b0f8d046 Mon Sep 17 00:00:00 2001 From: Valerie Date: Wed, 17 Apr 2024 11:20:09 -0400 Subject: [PATCH] fixed typos --- shaders/final.fsh | 2 +- shaders/module/horizontal_blur.frag | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shaders/final.fsh b/shaders/final.fsh index 9dca8ce..ad6c7c9 100644 --- a/shaders/final.fsh +++ b/shaders/final.fsh @@ -11,7 +11,7 @@ uniform float viewWidth; #include "/module/horizontal_blur.frag" void main() { - #ifdef hblur + #ifdef hBlur vec3 blurred = hblur(); gl_FragData[0] = vec4(blurred, 1); #else diff --git a/shaders/module/horizontal_blur.frag b/shaders/module/horizontal_blur.frag index 189ac65..9b8cc0b 100644 --- a/shaders/module/horizontal_blur.frag +++ b/shaders/module/horizontal_blur.frag @@ -8,7 +8,7 @@ float avg(float l, float c, float r) { vec3 hblur() { vec3 center = texture2D(gcolor, texcoord).rgb; - vec2 leftPos = texcoord - neigborOffset; + vec2 leftPos = texcoord - neighborOffset; vec2 rightPos = texcoord + neighborOffset; vec3 left;