HLSL code 'Texture2D' to 'sampler2D'

Unfortunately, this approach doesn’t work anymore