Button emitting light in Eevee? I’m trying to create a material for a button on a music control panel. It looks like a plastic glossy button with some colourful light coming from behind. 

I’m using EEVEE engine, so I tried bumping the transmission to 100% and also checking the refraction in the render settings, but it’s not the best looking button, it seems not transparent.



Q: How to create a realistic looking shader for that plastic knob using eevee?
Two ways that seem to work


Glass Shader with a Mesh light inside


enable Screen Space Refraction (in render tab and material setting)
set refraction depth to a non-zero number (to fake the glass thickness)
I used a musgrave texture to fake uneven light intensity

Translucent BSDF shader, with a Point light inside.


nicely simulates different thickness and light intensity
just keep in mind, that Eevee is limited to 128 lights per scene



Glass button with a Mesh light inside


Translucent button with a  Point light inside