Distinguish between cube/3D textures in renderpath commands by the texture unit.
Added per-char ToUpper() & ToLower() functions to script. Show also texture unit numbers in the material editor.