Project

General

Profile

Download (2.49 KB) Statistics
| Branch: | Revision:

library / src / main / res / raw / blur2_fragment_shader.glsl @ 4bf6e175

# Date Author Comment
7170e4eb 05/24/2017 11:16 PM Leszek Koltunski

Move on to Stencil on both stages of the BLUR + separate 'blit with depth'.

This works wonders on Nexus 5X ( r=50 quality=HIGHIEST 1,4,8 cubes: 59.3,43.6,41.0 FPS! ) but it somehow fails to clear the DEPTH and STENCIL buffers on Nexus 4....

1d6d261e 05/24/2017 01:02 PM Leszek Koltunski

Move to a new way to detecting depth of postprocessing halos.
This switches off stenciling (hopefully temporarily!)

fd2db957 04/21/2017 02:15 PM Leszek Koltunski

1) bugfix computing Gaussian BLUR kernel (for odd radii, the last offset was incorrectly computed)
2) introduce more advanced method of detecting BLUR halo (compute depths in a new way)

ed5bf324 03/31/2017 11:52 AM Leszek Koltunski

Merging blurred surfaces mostly ok now (blurred image still appears a bit shifted down for some reason)

1cbf4103 03/29/2017 12:55 PM Leszek Koltunski

Simplify shaders.

94f6d472 03/29/2017 11:05 AM Leszek Koltunski

Make it more flexible; now it can run almost all apps on OpenGL 2.0 contexts; OpenGL 3.0 ( with GLSL 3.00) required for POSTPROCESSING.

f2367b75 03/28/2017 12:26 PM Leszek Koltunski

Upgrade from GLSL 1.00 to GLSL 3.00 ES
Introduce separate BLUR1 and BLUR2 shaders, the second one marging (writing to gl_FragDepth still does not work)