tested your code and looks alot better now that the edges are going up and down instead of straight across, and when combined with my smoothing it looks great.
Using it only once is probably a better idea for framerate, but I have no idea how to make it create an actuall texture and pass it back to the game's script so it can assign it as a skin.

EDIT: and something I have been wondering about since your first post related to shaders... Why is "if" considered dirty?

Last edited by Carlos3DGS; 11/07/11 12:12.

"The more you know, the more you realize how little you know..."

I <3 HORUS
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=401929&page=1