added star highlighting, progress saving

This commit is contained in:
ilshat.safiullin committed 2018-10-03 01:03:29 +05:00
1 parent 650ef4f460
commit 8b2950f9fb
8 files changed
+152 -29

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
precision highp float;
uniform sampler2D Texture;
uniform bool Hover;
varying vec2 texCoord;
varying vec4 color;
void main()
{
vec4 texColor = texture2D(Texture,texCoord).rgba;
gl_FragColor = color * texColor.rgba;
if (Hover)
{
gl_FragColor.xyz *= 1.5;
}
}