How do I make an object tint in a lighter color or in more white?

I already have the code for checking if a line trace is colliding with my door, but I want the door to just lit up while looking at it and go back to normal when not. Please make an example image of your nodes!

If you’re using UE5, you can simply use an overlay material:


Just make a material that is half opaque, and make sure to set world position offset.

You can use actual emission, but it’ll quickly make the base mesh extremely hard to see.

Do note that you can only have one overlay material at a time.

Thanks for the response! I currently have my things set like this, the nodes for the event to trigger works since if i right click it opens the door (basically the same code but one with an every tick and one with click event), altough when i am in front of the door it wont light up


Untitled1

You’re not using the VertexNormalWS node.
The overlay material will create an overlay DIRECTLY on the mesh- meaning they will overlap. Priority is given to the original mesh, so you won’t see the overlay material.

Plugging in VertexNormalWS to world position offset effectively just balloons the mesh out by a single centimeter in order to make it visible.

Thanks :smiley:

1 Like