Control input for textureFX efficiently

Hi,

I have texture 7300x1200 - I want to use Levels(textureFX) on it, but I want to use two different values for two halves. So I need value map 3650+3650 for two values into various Levels inputs. There are many ways to do it, but what is the most efficient way?

I would imagine I can have just two values that gets mapped for the whole image with some kind of sampler. Like 2x1 texture, nearest neighbor, stretched to 7300x1200.

It seems impractical to generate different 7300x1200 for different inputs, like gamma, from black, etc.

Appreciate any ideas!

Use ColorMap

Since you have 2 different fields well defined, you can create a small texture to control the values.

ColorMap offers Scale, Offset, Filtering & AddresUV

ColorMap Example.vl (24.9 KB)

Did not noticed the hidden filter input on that version of color map.

Here is simpler version with dynamic texture!

Maybe there is even more direct way?

2 Likes