Finally completed frame buffer
This commit is contained in:
1 parent
4ae5adaeff
commit
d2a081588f
5 files changed
+170
-124
No files matched your search
@@ -5,6 +5,7 @@ varying vec2 texCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
float xstep = 0.5f/800.0f;
|
||||
float ystep = 0.5f/600.0f;
|
||||
|
||||
@@ -20,4 +21,6 @@ void main()
|
||||
+ vec4(texture2D(Texture, vec2(texCoord.x+2.0*xstep, texCoord.y)).rgb,1.0) * 0.1;
|
||||
|
||||
gl_FragColor = texColor;
|
||||
|
||||
//gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
|
||||
}
|
||||
Reference in new issue
Block a user