mirror of
https://github.com/edubart/otclient.git
synced 2025-10-13 19:14:56 +02:00
fix draw of uicreature
This commit is contained in:
@@ -3,8 +3,10 @@ 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 int itemId; // item id
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = texture2D(texture, textureCoords) * opacity;
|
||||
vec4 outColor = texture2D(texture, textureCoords);
|
||||
gl_FragColor = outColor * opacity;
|
||||
}
|
||||
|
Reference in New Issue
Block a user