added star highlighting, progress saving
This commit is contained in:
1 parent
650ef4f460
commit
8b2950f9fb
8 files changed
+152
-29
No files matched your search
Executable
+16
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user