diff --git a/neercs/video/simple.lolfx b/neercs/video/simple.lolfx index 9e33b46..b630c9d 100644 --- a/neercs/video/simple.lolfx +++ b/neercs/video/simple.lolfx @@ -3,10 +3,10 @@ #version 120 void main() - { - gl_Position=gl_Vertex; - gl_TexCoord[0]=gl_MultiTexCoord0; - } +{ + gl_Position = gl_Vertex; + gl_TexCoord[0] = gl_MultiTexCoord0; +} -- GLSL.Frag -- @@ -15,6 +15,7 @@ void main() uniform sampler2D texture; void main(void) - { - gl_FragColor=vec4(texture2D(texture,gl_TexCoord[0].xy).xyz,1.0); - } +{ + gl_FragColor = texture2D(texture, gl_TexCoord[0].xy); +} +