forked from fte/fteqw
1
0
Fork 0

Spike for president, less GLSL compile errors! Oh, and happy birthday yesterday, BTW ;)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3374 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Mark Olsen 2009-09-16 19:33:50 +00:00
parent 02fd259fab
commit 7b9bfe0ae9
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ void GL_Warp_Init(void)
" vec3 dir = pos - eyepos;\n"
" dir.z *= 3;\n"
" dir.z *= 3.0;\n"
" dir.xy /= 0.5*length(dir);\n"
" tccoord = (dir.xy + time*0.03125);\n"
@ -132,7 +132,7 @@ void GL_Warp_Init(void)
" tccoord = (dir.xy + time*0.0625);\n"
" vec4 clouds = texture2D(transt, tccoord);\n"
" gl_FragColor.rgb = solid*(1-clouds.a) + clouds.rgb*clouds.a;\n"
" gl_FragColor.rgb = solid*(1.0-clouds.a) + clouds.rgb*clouds.a;\n"
// " gl_FragColor.rgb = solid+clouds.rgb;\n"
"}\n"
"#endif\n"