Thanks Ventilator and qwerty823 for the replies. I've search in the shader forum for this problem, but I haven't seen this thread. Thanks