vk: fixup studio model zero normal printing
This commit is contained in:
parent
344c804468
commit
073dbc55f8
|
@ -1,6 +1,8 @@
|
|||
## 2024-01-19 E366
|
||||
- [x] investigate more shading nans
|
||||
- found zero normals in studio models, see #731
|
||||
- [ ] guns and transparency
|
||||
- [ ] flashlight is too bright
|
||||
- [ ] bounce diffuse is still way darker than before
|
||||
|
||||
# Previously
|
||||
|
|
|
@ -1723,9 +1723,9 @@ static void buildSubmodelMeshGeometry( build_submodel_mesh_t args ) {
|
|||
g_studio_current.entmodel->studio_header->name,
|
||||
g_studio_current.bodypart_index,
|
||||
j, vertex_offset, j + vertex_offset, vi,
|
||||
g_studio.norms[0],
|
||||
g_studio.norms[1],
|
||||
g_studio.norms[2],
|
||||
g_studio.norms[vi][0],
|
||||
g_studio.norms[vi][1],
|
||||
g_studio.norms[vi][2],
|
||||
normal_len2
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue