Home Unreal Engine

UDK - Isolate mid-gray color in material editor

Quick question for you polycounters:

Is it possible to isolate the mid-gray color in this image?

UDK.jpg

I've used power nodes with exp to isolate the white pretty easily:
UDK_02.jpg

but now I want to 'subtract' the white and keep the mid-gray. I can't use a OneMinus to invert either, because I need to keep the black border, black. This is what happens:
UDK_03.jpg

*EDIT* Is there no way to take all the values from 0.5 to 1 and make them 0 while leaving everything that is 0.49 to 0.01 alone?

For the curious.. I'm trying to use the green channel in my image to control 3 different areas of my button. I want to be able to have an access granted area (top left), access denied (bottom left) and the main area to the right. All being able to be controlled through kismet.

Thanks in advance,
Tony.

Replies

Sign In or Register to comment.