I am doing some vertex shader transformation, the values coming in are from a dynamics engine, the values are looping from 0 to 1, the problem is that it appears the texture2d lookup is doing filtering. I am trying to find a way to do a nearest neighbor lookup, but I am not finding good information. It appears that texture2d is deprecated as well. Does anybody know what function can replace it, and give control over the filtering?
MD
You can control the filtering of a texture by going to the samplers sub menu on the MAT (the >> button next to the the sampler).
texture2D isn’t deprecated though, what makes you think that?
Perfect, thank you, I did not see that >> on the side.
As for the deprecation, I was reading the 3.30 spec. Whoops, I need to be looking at 1.2 I guess.
MD