added play, option, and quit buttons

This commit is contained in:
2017-10-09 20:04:42 -05:00
parent 05a701b643
commit 9629b7edd7
7 changed files with 94 additions and 16 deletions

View File

@@ -125,9 +125,9 @@ timeline0: 0.0
active: false
- Tint -
colorsCount: 3
colors0: 1.0
colors1: 0.6627451
colors2: 0.23921569
colors0: 0.75686276
colors1: 0.4117647
colors2: 0.0
timelineCount: 1
timeline0: 0.0
- Transparency -
@@ -137,16 +137,16 @@ highMin: 1.0
highMax: 1.0
relative: false
scalingCount: 5
scaling0: 0.21052632
scaling1: 0.45614034
scaling2: 0.54385966
scaling3: 0.45614034
scaling0: 0.2982456
scaling1: 0.40350878
scaling2: 0.49122807
scaling3: 0.33333334
scaling4: 0.0
timelineCount: 5
timeline0: 0.0
timeline1: 0.56164384
timeline2: 0.67808217
timeline3: 0.7671233
timeline1: 0.46575344
timeline2: 0.7123288
timeline3: 0.8561644
timeline4: 1.0
- Options -
attached: false

View File

@@ -15,7 +15,8 @@ uniform float weight[5] = float[] (0.227027, 0.1945946, 0.1216216, 0.054054, 0.0
void main() {
vec2 tex_offset = 1.0 / textureSize(u_texture, 0);
vec3 result = texture(u_texture, vTexCoord).rgb * weight[0];
vec4 color = texture(u_texture, vTexCoord);
vec3 result = color.rgb * weight[0];
if (horizontal == 1) {
for (int i = 1; i < 5; ++i) {
@@ -29,5 +30,5 @@ void main() {
}
}
gl_FragColor = vec4(result, 1.0);
gl_FragColor = vec4(result, color.a);
}

View File

@@ -318,4 +318,28 @@ large-pane
split: 4, 4, 13, 13
orig: 9, 27
offset: 0, 0
index: -1
rect
rotate: false
xy: 176, 35
size: 14, 14
split: 4, 4, 4, 4
orig: 14, 14
offset: 0, 0
index: -1
rect-down
rotate: false
xy: 191, 35
size: 14, 14
split: 4, 4, 4, 4
orig: 14, 14
offset: 0, 0
index: -1
rect-disabled
rotate: false
xy: 206, 35
size: 14, 14
split: 4, 4, 4, 4
orig: 14, 14
offset: 0, 0
index: -1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB