Commit 3453c29
Thayer J Andrews
CCEffectBloom - Fix intensity math
The intensity value needs to multiply all instances of the source term in the screen
blending equation. Otherwise, even when intensity is zero, the source term is still
contributing to the final result which is not what we want.1 parent 8e19335 commit 3453c29
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
0 commit comments