Modified shaders for Intel HD Graphics compatibility

if statements with Intel's drivers are broken. Operations between vec
and float are not allowed. "vec3 some_vec3 = some_vec4" must be replaced
with "vec3 some_vec3 = some_vec4.xyz".