PayDay 2 LED Mask Shader

Unity 3D -- C# and HLSL

▚ Project summary:


In this project I wanted to re-create the LED mask shown in the payday 2 trailer for the Nintendo switch!

This mainly consists of creating a fitting Payday 2 mask model, on which I "project" a custom texture image. 

After finishing my Journey shader project, I learned how to light up specific parts of a model, using a texture. For this project I learned how to then remove the color from specific sections, also defined by a texture. 

I replicated the led effect from the trailer, by creating a masking texture, which has the appearance of many individual leds in a grid. 

This worked pretty well, and after applying different base textures, the results shown below was achieved.

▌Specifications:

Released: February 2018
Project type: Personal project
Platform: PC, Windows
Time spent on project: 1 week
Engine and Tools: Unity - C# and HLSL

▌My contributions:

○ Modeling and UV unwrapping the PayDay 2 switch mask
○ Creating the custom textures needed for the light up effect
○ Shader and script implementation
○ Dynamic camera implementation

▌Project goals:

○ Learn more about HLSL and shader scripting.
○ Improve my C#.
○ Be able to create a core feature from a popular and polished reference.


Some of the final results of the effects applied on the mask using the shader I wrote. 
Different images can be applied, resulting in quite a cool effect, with a lot of possibilities regarding different gameplay.