Recently, I read an article about a sun shader (XNA Sun Shader) and decided to implement it using OpenGL ES 2.0, but I encountered a problem with the shader:
I have two textures, one of them is the fire gradient texture:
The other one is a texture which will have each white part filled using the gradient;
So, I'm going to have a result similar to the image below (do not pay attention to the texture being rendered on a sphere mesh):
I really hope that somebody knows how to implement this shader.
As an alternative, how do I make it in photoshop?