# How would I make a "blacklight"?

**URL:** <https://forums.unrealengine.com/t/how-would-i-make-a-blacklight/372179>\
**Category:** Blueprint\
**Tags:** unreal-engine, editor, UE4, Blueprint, question\
**Created:** [October 1, 2016, 9:12pm UTC](https://forums.unrealengine.com/t/how-would-i-make-a-blacklight/372179 "2016-10-01T21:12:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![UltimaA380](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UltimaA380](https://forums.unrealengine.com/u/UltimaA380)\
**Post date:** [October 1, 2016, 9:12pm UTC](https://forums.unrealengine.com/t/how-would-i-make-a-blacklight/372179/1 "2016-10-01T21:12:53Z")

</div>

Hi, I was wondering how I would make a “blacklight” using the flashlight from the “realisticrendering” demo. Like for example, id want a text, texture, or even a painted on set of letters or numbers and make them only visible when you shine the flashlight on it?

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [October 4, 2016, 8:07am UTC](https://forums.unrealengine.com/t/how-would-i-make-a-blacklight/372179/2 "2016-10-04T08:07:43Z")

</div>

This can be done by [passing the position of where your flashlight beam hits](https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ParameterCollections/) into material and using a [sphere mask](https://docs.unrealengine.com/latest/INT/Engine/Rendering/Materials/ExpressionReference/Utility/#spheremask) material function there to control opacity, or something like that.
