It works fine in the preview camera, but not after running the game.
The same material in UE4 works fine.