Revision 5f7e4f2c
Added by Leszek Koltunski almost 6 years ago
src/main/res/raw/oit_render_fragment_shader.glsl | ||
---|---|---|
45 | 45 |
////////////////////////////////////////////////////////////////////////////////////////////// |
46 | 46 |
// A over B (https://en.wikipedia.org/wiki/Alpha_compositing) |
47 | 47 |
|
48 |
|
|
49 | 48 |
vec4 blend(vec4 A,vec4 B) |
50 | 49 |
{ |
51 | 50 |
float b = B.a * (1.0-A.a); |
Also available in: Unified diff
Hide the FBO_QUEUE thing inside the library. The queue is running internally now, without public setAsOutputFBO() thing (simplifies writing postprocess effects)