I'm trying to adapt the code below so that the gradient fade-out effect appears only on the first page (title page).
\documentclass[10pt,a4paper]{beamer}
\usepackage{tikz}
\usetikzlibrary{fadings}
\setbeamertemplate{background}{%
\begin{tikzpicture}
\path (0,0) rectangle (\paperwidth,\paperheight);
\node[scope fading = west, inner sep = 0pt, outer sep = 0pt, anchor = north east, opacity = .15] at(\paperwidth,\paperheight) {\includegraphics[height = \paperheight]{figures/ufpel.png}};
\end{tikzpicture}
}
\title[Aula do dia 12/02/2019 \hspace{3.6cm}\insertframenumber/\inserttotalframenumber]{Oferta e Demanda Agregada}
\subtitle[]{}
\author[Prof. Alexandre Loures - Economia/UFPel]{Prof. Alexandre Loures}
\institute{Departamento de Economia\\Universidade Federal de Pelotas}
\date{Concurso Métodos Quantitativos em Economia}
\titlegraphic{\includegraphics[width = 2.5cm]{figures/ufpel.png}}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\begin{frame}
test
\end{frame}
\end{document}
Original discussion in: How to add a gradient fade-out effect to an image?
Here is an image of how I wish the title page to be (only the title page will look like this).
Here's how the second page is getting.



