mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
fix outfit glitches, init combobox, move shaders, remove unused particles files, create timer utility
This commit is contained in:
10
modules/game_shaders/map.frag
Normal file
10
modules/game_shaders/map.frag
Normal file
@@ -0,0 +1,10 @@
|
||||
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
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = texture2D(texture, textureCoords) * color * opacity;
|
||||
}
|
Reference in New Issue
Block a user