How to make headlight effects on a sprite? (Increasing emission of sprite material)
Hello everyone,
I created my project by selecting the 2D feature. I have a car sprite in the game and I want to increase the emission of the car's headlights, so that should give the headlight effect as if the lights are turn on. I know how to do it theoretically, but I don't know how I can make it on Unity.
I have a car sprite, which is going to be albedo, and a mask for the headlights. (In the mask, the headlights are completely white and the rest is completely black). I need to multiply that mask by a number and give the result to the emission output. The car sprite itself will be the albedo output.
Is it possible to create a material for sprites? If so, how can I do this?
Your answer
Follow this Question
Related Questions
Why my 2d sprites gets corrupted after I attach material ? 0 Answers
Sprite Material Problem 0 Answers
How to continue material between sprites. 1 Answer
Lighting and shadows for 2D sprites. 0 Answers
How to make 2D physics objects graphics? 2 Answers