Revision c90b9e01
Added by Leszek Koltunski over 7 years ago
src/main/res/raw/main_fragment_shader.glsl | ||
---|---|---|
105 | 105 |
} |
106 | 106 |
#endif |
107 | 107 |
|
108 |
gl_FragColor = vec4(pixel.rgb * v_Normal.z, pixel.a);
|
|
108 |
gl_FragColor = vec4(pixel.rgb * (1.0 + 7.0*v_Normal.z) * 0.125, pixel.a);
|
|
109 | 109 |
} |
Also available in: Unified diff
Progress with getting Mesh'es bounding rectangle. Still doesn't quite work yet (visible : 'Cubes' app with a 0111 Mesh)