renderer: slightly optimized shader code & some warning prints added