Notifications
Reveal & Impact Shader
Showcase
89
0
Implemented the impact shader from the Fortnite's technical artist's GDC talk, that shader game me an idea of reveal shader, I saw somewhere else, so I decided to make that one too which was fairly easy because I really just built it upon the impact shader. Both shaders are unlit.
Shader was fairly straightforward but tricky part was how to send the easing curve data to the shader, I searched and found that we can actually bake the curve data into RGB channels of a texture so I ended up backing the curve into the R channel and used it inside the shader.
I know I could have evaluated the curve on the CPU side and sent the result into the shader but I wanted to do everything inside the shader plus this was a great learning opportunity.
Daniyal Azram
Game Developer - Programmer
8
Comments