fixed typos
This commit is contained in:
parent
c165897f43
commit
12b71f2bb9
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ uniform float viewWidth;
|
||||||
#include "/module/horizontal_blur.frag"
|
#include "/module/horizontal_blur.frag"
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
#ifdef hblur
|
#ifdef hBlur
|
||||||
vec3 blurred = hblur();
|
vec3 blurred = hblur();
|
||||||
gl_FragData[0] = vec4(blurred, 1);
|
gl_FragData[0] = vec4(blurred, 1);
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -8,7 +8,7 @@ float avg(float l, float c, float r) {
|
||||||
vec3 hblur() {
|
vec3 hblur() {
|
||||||
vec3 center = texture2D(gcolor, texcoord).rgb;
|
vec3 center = texture2D(gcolor, texcoord).rgb;
|
||||||
|
|
||||||
vec2 leftPos = texcoord - neigborOffset;
|
vec2 leftPos = texcoord - neighborOffset;
|
||||||
vec2 rightPos = texcoord + neighborOffset;
|
vec2 rightPos = texcoord + neighborOffset;
|
||||||
|
|
||||||
vec3 left;
|
vec3 left;
|
||||||
|
|
Loading…
Reference in a new issue