fix normal_i calculation

This commit is contained in:
Josh Holtrop 2012-09-10 23:24:52 -04:00
parent cfa2850292
commit eb0a24b8d4

View File

@ -13,5 +13,5 @@ void main(void)
{
gl_Position = projection * modelview * vec4(scale * pos, 1);
pos_i = gl_Position.xyz;
normal_i = modelview * vec4(normal, 1);
normal_i = modelview * vec4(normal, 0);
}