Is there anyway to find a pixel value of a sampler2D using pixel coord? Or is there a way to get the dimension of the texture?
Right now all I can do is tex2D(sampler2D, UV). However, I need to find the pixel next to the current pixel of the UV coordinate.
↧