The Ultimate Blacklight Shader for Eevee is just that, the ultimate blacklight shader.



Too many times I've seen blacklight/UV solutions that either don't work, aren't reactive, or just plain bad. This is more than just a mix between a diffuse and emission shader, this is a full PBR solution that takes into account the material's properties, as well as fluorescence. The shader will also provide correct shading of light and dark. No more materials that glow no matter the lighting conditions. It's even animatable!



As well, the shader supports many different inputs, allowing you to influence the fluorescence of the material, the strength, the amount of glow, and even the color. The shader also supports fluorescence of a color that's different than the base color. So a material can look one way in normal light, but take on a whole different look when viewed under the blacklight. You're even able to fine tune certain colors of a spectrum to glow just the right color. Super useful for those funky blacklight posters!



By creatively using masks with these parameters, you're able to do incredible things. For example, it's possible to hide things so that they appear only when viewed by UV light. Perfect for those "clean" hotel rooms, or crime scenes!

There's all sorts of crazy things that you can do with this shader, let your imagination run wild!







Please note that this shader ONLY works within the Eevee renderer right now (as cycles does not support the "Shader to RGB" node that this heavily relies on. Another important thing to note is that Blender and most other softwares operate only within the visible spectrum of light. This shader is meant to emulate to the best of the software's ability the effects of fluorescence while under UV light. This shader is by no means physically correct in real world terms, as that's impossible right now, but for creative uses this should work just fine. You'll have to set up your lamp color and world to accentuate the effect, but once that's set up, you're good to go.

