Commit f1e625c
committed
UPBGE: Simplify texture blurring.
The shader used to blur a texture was using ftransform for gl_Position
and so it needed the modelview/prjection matrix to be set.
This can be avoided by using gl_Vertex directly.1 parent 9fb0a3b commit f1e625c
File tree
2 files changed
+6
-14
lines changed- source/blender/gpu
- intern
- shaders
2 files changed
+6
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
535 | | - | |
536 | | - | |
537 | 530 | | |
538 | 531 | | |
539 | | - | |
540 | | - | |
541 | 532 | | |
542 | 533 | | |
543 | 534 | | |
| |||
553 | 544 | | |
554 | 545 | | |
555 | 546 | | |
556 | | - | |
557 | 547 | | |
558 | | - | |
559 | 548 | | |
| 549 | + | |
| 550 | + | |
560 | 551 | | |
561 | 552 | | |
562 | 553 | | |
| |||
567 | 558 | | |
568 | 559 | | |
569 | 560 | | |
| 561 | + | |
| 562 | + | |
570 | 563 | | |
571 | 564 | | |
572 | 565 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
0 commit comments