Newlines
This commit is contained in:
@@ -10,4 +10,4 @@ void main(){
|
||||
vec4 bloom = texture2D(u_texture1, v_texCoords) * BloomIntensity;
|
||||
original = original * (vec4(1.0) - bloom);
|
||||
gl_FragColor = original + bloom;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,4 +11,4 @@ void main(){
|
||||
gl_FragColor = vec4(0.0);
|
||||
}
|
||||
//gl_FragColor = (texture2D(u_texture0, v_texCoords) - vec4(threshold.r)) * threshold.g;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,4 +10,4 @@ void main(){
|
||||
vec4 bloom = texture2D(u_texture1, v_texCoords) * BloomIntensity;
|
||||
original = original * (vec4(1.0) - bloom);
|
||||
gl_FragColor = original + bloom;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,4 +23,4 @@ void main(){
|
||||
v_texCoords4 = a_texCoord0 + f;
|
||||
|
||||
gl_Position = a_position;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,4 +6,4 @@ void main(){
|
||||
vec4 tex = texture2D(u_texture0, v_texCoords);
|
||||
vec3 colors = (tex.rgb - threshold.r) * threshold.g * tex.a;
|
||||
gl_FragColor = vec4(colors, tex.a);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,4 +5,4 @@ varying vec2 v_texCoords;
|
||||
void main(){
|
||||
v_texCoords = a_texCoord0;
|
||||
gl_Position = a_position;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,4 +4,4 @@ varying mediump vec2 v_texCoords;
|
||||
|
||||
void main(){
|
||||
gl_FragColor.rgb = (texture2D(u_texture0, v_texCoords).rgb - vec3(threshold.x)) * threshold.y;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user