Commit dae57d8
committed
NUKE alphaAddOne bit in color modulate
There are no differences in my screenshot test suite as a result of
removing this. This alpha := 1 thing only existed in the `generic`
shader; its absence in lightMapping is further evidence suggesting it is
not needed.
Note: this would open opportunities for further
improvements/cleanup/simplification, due to e.g. the now unused spot in
the float color modulate array, but I'm about to NUKE a large part of
this code on the 0.56 branch so let's not touch it.1 parent f60d1b8 commit dae57d8
2 files changed
+2
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2738 | 2738 | | |
2739 | 2739 | | |
2740 | 2740 | | |
2741 | | - | |
2742 | 2741 | | |
2743 | 2742 | | |
2744 | 2743 | | |
| |||
2752 | 2751 | | |
2753 | 2752 | | |
2754 | 2753 | | |
2755 | | - | |
2756 | | - | |
2757 | 2754 | | |
2758 | 2755 | | |
2759 | 2756 | | |
| |||
2768 | 2765 | | |
2769 | 2766 | | |
2770 | 2767 | | |
2771 | | - | |
2772 | 2768 | | |
2773 | 2769 | | |
2774 | 2770 | | |
| |||
2785 | 2781 | | |
2786 | 2782 | | |
2787 | 2783 | | |
2788 | | - | |
2789 | 2784 | | |
2790 | 2785 | | |
2791 | 2786 | | |
2792 | 2787 | | |
2793 | | - | |
2794 | 2788 | | |
2795 | 2789 | | |
2796 | 2790 | | |
| |||
2827 | 2821 | | |
2828 | 2822 | | |
2829 | 2823 | | |
2830 | | - | |
| 2824 | + | |
2831 | 2825 | | |
2832 | 2826 | | |
2833 | 2827 | | |
| |||
2859 | 2853 | | |
2860 | 2854 | | |
2861 | 2855 | | |
2862 | | - | |
2863 | 2856 | | |
2864 | 2857 | | |
2865 | 2858 | | |
| |||
2879 | 2872 | | |
2880 | 2873 | | |
2881 | 2874 | | |
2882 | | - | |
2883 | | - | |
2884 | 2875 | | |
2885 | 2876 | | |
2886 | 2877 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
| 71 | + | |
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
82 | 80 | | |
83 | 81 | | |
84 | 82 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
| |||
110 | 107 | | |
111 | 108 | | |
112 | 109 | | |
113 | | - | |
114 | 110 | | |
115 | 111 | | |
116 | | - | |
117 | 112 | | |
118 | 113 | | |
119 | 114 | | |
| |||
159 | 154 | | |
160 | 155 | | |
161 | 156 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 157 | | |
166 | 158 | | |
167 | 159 | | |
| |||
0 commit comments