I was having issues moving vtf/vmt clothing to png files where I'd call CreateMaterial ( for the bumpmap, etc.. ) and output was a checkerboard while file.Exists reported the file exists... So, by chance I found that if Material is called prior to CreateMaterial being called, the output would be as expected; otherwise a checkerboard would appear. This defeats one of the purposes of using CreateMaterial.
I was having issues moving vtf/vmt clothing to png files where I'd call CreateMaterial ( for the bumpmap, etc.. ) and output was a checkerboard while file.Exists reported the file exists... So, by chance I found that if Material is called prior to CreateMaterial being called, the output would be as expected; otherwise a checkerboard would appear. This defeats one of the purposes of using CreateMaterial.