Variable Refractive Index Effects on Radiation in Semitransparent Scattering Multilayered Regions