Fixed rendering

Resource encoder now store unsigned char instead of signed char