[PD] Shader for 3d flattening