added tweaks for robe and trees shaders.  big refactoring and cleanup.