Commit f84772d
authored
added nodeCoordinates to shaders (#658)
We already use this same concept on v3.
We need nodeCoordinates so can accurately calculated the edges of nodes,
we are currently doing these with textureCoords, but in case of sprites
or images with textureOptions texturecoords can be different from what
the shader expects them to be.
resolves known issue(s):
#357File tree
20 files changed
+141
-148
lines changed- src/core
- lib
- renderers/webgl
- internal
- shaders
- effects
20 files changed
+141
-148
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
703 | 703 | | |
704 | 704 | | |
705 | 705 | | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
706 | 753 | | |
707 | 754 | | |
708 | 755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
176 | 184 | | |
177 | 185 | | |
178 | 186 | | |
| |||
346 | 354 | | |
347 | 355 | | |
348 | 356 | | |
| 357 | + | |
| 358 | + | |
349 | 359 | | |
350 | 360 | | |
351 | 361 | | |
| |||
354 | 364 | | |
355 | 365 | | |
356 | 366 | | |
| 367 | + | |
| 368 | + | |
357 | 369 | | |
358 | 370 | | |
359 | 371 | | |
| |||
362 | 374 | | |
363 | 375 | | |
364 | 376 | | |
| 377 | + | |
| 378 | + | |
365 | 379 | | |
366 | 380 | | |
367 | 381 | | |
| |||
370 | 384 | | |
371 | 385 | | |
372 | 386 | | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
373 | 390 | | |
374 | 391 | | |
375 | 392 | | |
| |||
378 | 395 | | |
379 | 396 | | |
380 | 397 | | |
| 398 | + | |
| 399 | + | |
381 | 400 | | |
382 | 401 | | |
383 | 402 | | |
| |||
386 | 405 | | |
387 | 406 | | |
388 | 407 | | |
| 408 | + | |
| 409 | + | |
389 | 410 | | |
390 | 411 | | |
391 | 412 | | |
| |||
394 | 415 | | |
395 | 416 | | |
396 | 417 | | |
| 418 | + | |
| 419 | + | |
397 | 420 | | |
398 | 421 | | |
399 | 422 | | |
| |||
404 | 427 | | |
405 | 428 | | |
406 | 429 | | |
| 430 | + | |
| 431 | + | |
407 | 432 | | |
408 | 433 | | |
409 | 434 | | |
| |||
417 | 442 | | |
418 | 443 | | |
419 | 444 | | |
| 445 | + | |
| 446 | + | |
420 | 447 | | |
421 | 448 | | |
422 | 449 | | |
| |||
425 | 452 | | |
426 | 453 | | |
427 | 454 | | |
| 455 | + | |
| 456 | + | |
428 | 457 | | |
429 | 458 | | |
430 | 459 | | |
| |||
433 | 462 | | |
434 | 463 | | |
435 | 464 | | |
| 465 | + | |
| 466 | + | |
436 | 467 | | |
437 | 468 | | |
438 | 469 | | |
| |||
441 | 472 | | |
442 | 473 | | |
443 | 474 | | |
| 475 | + | |
| 476 | + | |
444 | 477 | | |
445 | 478 | | |
446 | | - | |
447 | 479 | | |
448 | 480 | | |
449 | 481 | | |
| |||
595 | 627 | | |
596 | 628 | | |
597 | 629 | | |
598 | | - | |
| 630 | + | |
599 | 631 | | |
600 | 632 | | |
601 | 633 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 79 | + | |
83 | 80 | | |
84 | | - | |
85 | 81 | | |
86 | 82 | | |
87 | 83 | | |
| |||
160 | 156 | | |
161 | 157 | | |
162 | 158 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
| 159 | + | |
| 160 | + | |
218 | 161 | | |
219 | 162 | | |
220 | 163 | | |
221 | 164 | | |
222 | 165 | | |
223 | 166 | | |
224 | 167 | | |
225 | | - | |
226 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
227 | 172 | | |
228 | | - | |
229 | 173 | | |
230 | 174 | | |
231 | 175 | | |
| |||
325 | 269 | | |
326 | 270 | | |
327 | 271 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
338 | 286 | | |
339 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
340 | 293 | | |
341 | 294 | | |
342 | | - | |
343 | 295 | | |
344 | 296 | | |
345 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
| |||
51 | 45 | | |
52 | 46 | | |
53 | 47 | | |
| 48 | + | |
54 | 49 | | |
55 | 50 | | |
56 | 51 | | |
| |||
59 | 54 | | |
60 | 55 | | |
61 | 56 | | |
| 57 | + | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
| 65 | + | |
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
| |||
0 commit comments