[go: up one dir, main page]

Menu

Commit [r13723]  Maximize  Restore  History

Fix 3D cockpit rendering:

- Z-buffer range was off such that the whole cockpit was clipped
- Lighting was wrong, since the camera was centered but ligths weren't
adjusted for it
- Disabling Z culling hasn't been working since shader techniques were
introduced, that force their own culling modes, so remove the option
- Transform matrix was flipping the X axis and thus flipping face
normals, fix it to be consistent with GFXLookAt

klaussfreire 2016-08-15

changed /trunk/vegastrike/src/gfx/camera.cpp
changed /trunk/vegastrike/src/gfx/cockpit.cpp
changed /trunk/vegastrike/src/gfxlib.h
changed /trunk/vegastrike/src/gldrv/gl_light_state.cpp