source:
trunk/src/opengl/util/composition_mode_screen.glsl@
567
| Last change on this file since 567 was 2, checked in by , 17 years ago | |
|---|---|
| File size: 130 bytes | |
| Line | |
|---|---|
| 1 | // Dca' = Sca + Dca - Sca.Dca |
| 2 | // Da' = Sa + Da - Sa.Da |
| 3 | vec4 composite(vec4 src, vec4 dst) |
| 4 | { |
| 5 | return src + dst - src * dst; |
| 6 | } |
Note:
See TracBrowser
for help on using the repository browser.
