Please sign in to comment.
- changed the stencil cap drawer to only cover the area which is actu…
…ally used by the portal. This will now both exclude floor caps when only ceiling elements are used and everything outside the bounding box of active portal lines. Hopefully this is enough to fix the issues with portal caps but of course it is not foolproof if someone just makes the right setup. # Conflicts: # src/hwrenderer/scene/hw_portal.cpp # src/hwrenderer/scene/hw_portal.h # src/hwrenderer/scene/hw_walls.cpp # src/r_data/r_sections.cpp # src/r_data/r_sections.h - Using FBoundingBox instead of BoundingRect for the implementation. - Added Contains methods to FBoundingBox. Doesn't compile yet. (drfrag)
- Loading branch information...
Showing with 71 additions and 21 deletions.
- +1 −1 src/gl/scene/gl_drawinfo.h
- +29 −6 src/gl/scene/gl_portal.cpp
- +6 −0 src/gl/scene/gl_portal.h
- +7 −2 src/gl/scene/gl_walls_draw.cpp
- +1 −1 src/hwrenderer/scene/hw_drawinfo.h
- +1 −1 src/hwrenderer/scene/hw_drawstructs.h
- +3 −3 src/hwrenderer/scene/hw_sky.cpp
- +7 −7 src/hwrenderer/scene/hw_walls.cpp
- +16 −0 src/m_bbox.h