many changes

* Fixes in WIN32 platform
* Remove unused files
* Make StaticText work more like tibia
* Fix WIN32 compilation
* Fix regression in framebuffers that caused battle to disappear
* Shader fixes for DX9
* Add two new shaders: noise and heat
This commit is contained in:
Eduardo Bart
2012-06-15 19:18:30 -03:00
parent 10b60a3871
commit 4813b7eb4b
19 changed files with 203 additions and 177 deletions

View File

@@ -5,9 +5,9 @@ varying vec2 v_TexCoord;
void main()
{
vec4 col = texture2D(u_Tex0, v_TexCoord);
float d = u_Time * 2;
float d = u_Time * 2.0;
col.x += (1.0 + sin(d))*0.25;
col.y += (1.0 + sin(d*2))*0.25;
col.z += (1.0 + sin(d*4))*0.25;
col.y += (1.0 + sin(d*2.0))*0.25;
col.z += (1.0 + sin(d*4.0))*0.25;
gl_FragColor = col;
}