Added disable and enable shader functionality i.e. in order to not use
any shaders. Moreover each node has now to flags whether is uses any
shaders or not.