Joshua Moerman
14 years ago
3 changed files with 2 additions and 20 deletions
@ -1,13 +0,0 @@ |
|||
uniform sampler2D tex; |
|||
|
|||
vec2 offset = vec2(1.0/800.0, 0.0); |
|||
float inter = 0.2; |
|||
|
|||
void main( void ) { |
|||
gl_FragColor = texture2D(tex, gl_TexCoord[0].st + offset); |
|||
gl_FragColor += texture2D(tex, gl_TexCoord[0].st - offset); |
|||
gl_FragColor = inter*normalize(gl_FragColor) + (1.0 - inter)*gl_FragColor; |
|||
gl_FragColor *= 0.57; |
|||
//gl_FragColor = sin(gl_FragColor*3.0); |
|||
gl_FragColor.a = 1.0; |
|||
} |
@ -1,5 +0,0 @@ |
|||
|
|||
void main( void ) { |
|||
gl_TexCoord[0] = gl_MultiTexCoord0; |
|||
gl_Position = gl_Vertex; |
|||
} |
Reference in new issue