Quote:
Originally Posted by FireFreak111
On another note, is it possible to combine the first two shaders, considering there's only a one line difference between them? Functions possibly?
|
The second shader needs the results of the first one so it's not really easy to do it in just one shader. It would be possible to split them in a slightly different way but I think it will obfuscate the code and it will only be faster because I haven't found a way to make the shader skip processing for a particular pixel.