sample-three-dimensional: replace cube texture
sample-three-dimensional: tweak cube parameters
effect: replace copy assignments with construction