You could fake something similar to your image
\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage[most]{tcolorbox}
\newenvironment{emblock}
{\begin{actionenv}\begin{tcolorbox}[
enhanced,
colframe=white,
colback=white,
borderline north={0.2mm}{0.6mm}{gray!25!white},
borderline west ={0.2mm}{0.6mm}{gray!25!white},
borderline north={0.2mm}{0.4mm}{gray!50!white},
borderline west ={0.2mm}{0.4mm}{gray!50!white},
borderline south ={0.2mm}{0.0mm}{gray!50!white},
borderline east ={0.2mm}{0.0mm}{gray!50!white},
borderline north={0.2mm}{0.2mm}{gray!75!white},
borderline west ={0.2mm}{0.2mm}{gray!75!white},
borderline north={0.2mm}{0.0mm}{gray},
borderline west ={0.2mm}{0.0mm}{gray},
]
}
{\end{tcolorbox}\end{actionenv}}
\newenvironment{hblock}
{\begin{actionenv}\begin{tcolorbox}[
enhanced,
colframe=white,
colback=white,
borderline south={0.2mm}{0.6mm}{gray},
borderline east ={0.2mm}{0.6mm}{gray},
borderline south={0.2mm}{0.4mm}{gray!75!white},
borderline east ={0.2mm}{0.4mm}{gray!75!white},
borderline south={0.2mm}{0.2mm}{gray!50!white},
borderline east ={0.2mm}{0.2mm}{gray!50!white},
borderline north={0.2mm}{0.0mm}{gray!50!white},
borderline west ={0.2mm}{0.0mm}{gray!50!white},
borderline south={0.2mm}{0.0mm}{gray!25!white},
borderline east ={0.2mm}{0.0mm}{gray!25!white},
]
}
{\end{tcolorbox}\end{actionenv}}
\begin{document}
\begin{frame}
\begin{emblock}
Preface
\end{emblock}
\begin{hblock}
Preface
\end{hblock}
\end{frame}
\end{document}
tcolorbox
. See texdoc.net/show.php?pkg=tcolorbox for the available shadows (section 10.6.1 and following) and tex.stackexchange.com/questions/202035/… for the application to beamer. Maybe you could specify what you mean by sunken shadow?tcolorbox
and it seems like there is not the type of shadow I'd like to have. Should be similar to what you see here: i.sstatic.net/FFRLv.png (for the box though, not the text). So the shadow should be 'inside' that box such that it appears to be behind the rest of the slide.