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.gifThe 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
I'm guessing that the green and red channel create the mask animation on the fly causing the scrolling effect.
Fail : https://cdn.discordapp.com/attachments/179338139897298946/253657780907409408/gradient2.gif
I just had a quick look at your texture and came up with a material pretty close to your reference, however it's using a 'Panner' node.
I had a panner version, but it doesn't quite have the same effect. perhaps your approach is different in some way.
Here's the same gradient but with 4 different colors: green, black, red, blue to help understand what's going on visualy.
and here is what I came up with but failed to pull off the proper color order and spacing.