Home Unreal Engine

Gradient Ramp color cycle

polycounter lvl 10
Offline / Send Message
tuxmask75 polycounter lvl 10
Hey guys! I have a problem here, well I'm able to create a standard gradient ramp shader, however I'm having a real issue with re-creating what's shown in the gif here, http://i.imgur.com/4qLMLwz.gif
The problem I'm having is related to having the 2 Ramp textures overlap!
Red channel is 1 greyscale texture and Green is the second for the 2 ramps. Here is the texture I'm using https://dl.dropboxusercontent.com/u/27932384/test.tga ( I made the blue channel as my mask, and can be ignored)

Normally I would have 2 colors for the red channel ramp (yellow and dark blue). And also 2 colors for the green channel ramp (Red and dark blue). And lerp between them with a mask. however I cant seem to do that when the ramp textures overlap. (it produces another ramp animation all together without the faked scrolling effect.)

I'm at my wits end! Does anyone know how to recreate the shader from the gif?

Replies

Sign In or Register to comment.