mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
optimize graphics performance
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
uniform float opacity; // painter opacity
|
||||
uniform vec4 color; // painter color
|
||||
uniform float time; // time in seconds since shader linkage
|
||||
uniform sampler2D texture; // map texture
|
||||
varying vec2 textureCoords; // map texture coords
|
||||
uniform sampler2D tex0; // map texture
|
||||
varying vec2 texCoord; // map texture coords
|
||||
//uniform vec4 awareArea;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = texture2D(texture, textureCoords);
|
||||
gl_FragColor = texture2D(tex0, texCoord);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user