Math on texture

Very new vvvv user question…

How can we do math on a texture?
What I exactly need is something like:

pass the first texture if the second one is bigger then a threshold

something like the >p operator would be helpful…


not sure exactly what is your P, but the easiest is just a switch node and some logic for condition. Also u can do that on shader with pretty simple code… if (A>P) {col =tex1} etc… Anyways if u want some solution post a patch

The texture size is provided at least by the filetexture node with its own outputs.
Beside this you can find out the size of any texture with Info (EX9.Texture).

(other guest:)