Modulating with modified texture

Is there some way to achieve following:

C = Cf * [Cs*val + (1.0-val)];

Using texture function or texture combiner function? Cf is fragment color, Cs texture color and val is value between 0.0 and 1.0.

Sure. Did you try shaders ?

Here is a NEHE example

I’m reading Redbook right now and haven’t yet gotten to shading language…