fixed glerror caused by materialnode passing bad values to blendfunc
MaterialNode caused an glError by passing bad values to glBlendFunc. fixed by using appropriate getters.
MaterialNode caused an glError by passing bad values to glBlendFunc. fixed by using appropriate getters.