... im using a png 64x64 and this crashes, the only way to not crash is using p.material=NULL; but that will make the texture square black?