Commit 29f38b8
committed
Enable all layer for WebGLBackgrond.
Before mrdoob#22426,
when not using array camera, the background doesn't participate
in layer calculation.
We feel the old behaviour is better because we don't need to
always add layer `0` to the camera when doing multipass rendering.
This commit enables all layer for the background.
Note that the behaviour is still slightly different from r115:
When the camera's layer **mask** is set to 0, r115 will render
background and now won't.1 parent 2f413de commit 29f38b8
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
0 commit comments