use reverse-Z for layer depth