Kaydet (Commit) 8b65dec8 authored tarafından Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Kaydeden (comit) Tomaž Vajngerl

slideshow: Make sure the slide is fully opaque in Honeycomb

On Windows, the text is rendered with 0 of alpha, which is an issue in
this transition as it enables GL_BLEND.

Change-Id: I45fe32ccf77854e758eddc33f300791d4cdd6904
üst 98c34360
...@@ -26,7 +26,7 @@ bool isBorder(vec2 point) ...@@ -26,7 +26,7 @@ bool isBorder(vec2 point)
void main() void main()
{ {
vec4 fragment = texture2D(slideTexture, texturePosition); vec4 fragment = vec4(texture2D(slideTexture, texturePosition).rgb, 1.0);
vec3 lightVector = vec3(0.0, 0.0, 1.0); vec3 lightVector = vec3(0.0, 0.0, 1.0);
float light = max(dot(lightVector, normal), 0.0); float light = max(dot(lightVector, normal), 0.0);
if (hexagonSize > 1.0) { if (hexagonSize > 1.0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment