Commit 0552c5c
Added a shader to replace color of the texture
I haven't found a default shader with such behaviour, so made a very simple custom one. It acts the same way as the previous GetWhiteTexture method: sets RGB values of the set color, but leaves alpha of the original texture.1 parent 86c6147 commit 0552c5c
File tree
2 files changed
+31
-0
lines changed- Editor
2 files changed
+31
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments