Where is the HLSL writing error that causes the texture not to be displayed in the material?