On my early 2015 MacBook Pro with Catalina 10.15.7, the Apple sample code 'ReflectionsWithLayerSelection' only renders one cube map face on the sphere while the other faces remain black*. But oddly enough if I change the background color on the cube map from black:
MTLClearColorMake (0.0, 0.0, 0.0, 1.0);
to almost black:
MTLClearColorMake (0.0, 0.0, 0.01, 1.0);
all 6 faces of the cube map render correctly.
Weirdly, in the all-zero case I can see the temples in the missing faces initially render but slowly fade to black and disappear, and if I set any (or all) of the clear color components to 1.0, the temples in the missing faces again fade out!
*Sometimes a missing faces pops in for one frame.
MTLClearColorMake (0.0, 0.0, 0.0, 1.0);
to almost black:
MTLClearColorMake (0.0, 0.0, 0.01, 1.0);
all 6 faces of the cube map render correctly.
Weirdly, in the all-zero case I can see the temples in the missing faces initially render but slowly fade to black and disappear, and if I set any (or all) of the clear color components to 1.0, the temples in the missing faces again fade out!
*Sometimes a missing faces pops in for one frame.