🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Daily Update #3 - AESTHETIC++

Published August 04, 2018
Advertisement

Today was kind of a slow day: I had many things to do, so development was kind of light...

Nevertheless, I've still managed to do something...

I've added a way to highlight items through emission (not unlike how we did it previously) and make enemies blink when they get hurt.

It wasn't really hard: because this is Unity, the surface shader got us covered. It was just one simple line of code. 


#ifdef IS_EMISSIVE
o.Emission =  lerp(fixed3(0, 0, 0), _EmissionColor.rgb, _EmissionRatio);
#endif

 

1 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement
Advertisement