Hi everyone, I’m trying to sample a texture object parameter into a custom node in order to manipulate the UV. But im struggling to change its sample state to clamp, it seems that the default value it wrapped mode. I want to modify the UV to move and scale the texture, avoiding the texture repetition. Is there a way to set the sample state via hlsl? I have attached some images to make it more clear.
Here you can see I move the circle to the right, but because wrapped mode, other circle is appearing from the left, I only want one circle on the texture.