OpenGL2: Store normals/tangents as int16_t[4].
This commit is contained in:
1 parent
762f50757d
commit
dfbaf50324
13 files changed
+288
-1042
No files matched your search
@@ -207,7 +207,11 @@ static int neighbors[8][2] = {
|
||||
//if ( count == 0 ) {
|
||||
// printf("bad normal\n");
|
||||
//}
|
||||
VectorNormalize2( sum, dv->normal );
|
||||
{
|
||||
vec3_t fNormal;
|
||||
VectorNormalize2(sum, fNormal);
|
||||
R_VaoPackNormal(dv->normal, fNormal);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user