Temperature and layer thickness dependent in situ