Like the title says.
a call to DrawMeshInstanced works. But only if the opt-level = 0.
unsafe {
DrawMeshInstanced(
*self.model.meshes.offset(0),
self.material,
matrices.as_ptr(),
matrices.len() as _,
);
}
If the opt-level is higher, then the normal vectors seems to be omitted.
Like the title says.
a call to DrawMeshInstanced works. But only if the
opt-level = 0.If the
opt-levelis higher, then the normal vectors seems to be omitted.