yohami
August 8, 2015, 3:07am
1
Im looking for a way to tint a sprite 2D with a % of a solid color.
This
GetComponent().color = Color .w hite; // Color.green; ETC
doesnt work because it affects only the bright pixels, leaving the dark pixels intact.
Any ideas are appreciated, thanks
Yohami
try other sprite over the first one, solid color with alpha 0-100%.
1 Like
yohami
August 8, 2015, 6:21pm
3
Thanks, I’ll try. Quite lame to have to duplicate the amount of sprites on the screen just for a fog effect
you can try with shader, but i can not help here
something like: create material, add sprite to it (maybe albedo, pick your sprite), adjust it with color, and at last add shader to your sprite in material.
I have used shader only once, so ask someone, who can that
Hi, maybe 2DxFX is just what you need
Discover the best assets for game making. Choose from our massive catalog of 2D, 3D models, SDKs, templates, and tools to speed up your game development process.
yohami
August 12, 2015, 10:37pm
6
Thank you, that’s awesome