Ticket #887 (closed enhancement: wontfix)
[PATCH] Catch terrain patch vertex height for water rendering
| Reported by: | kromxp | Owned by: | philip |
|---|---|---|---|
| Priority: | Should Have | Milestone: | Alpha 7 |
| Component: | Core engine | Keywords: | patch, review |
| Cc: |
Description
The proposed small patch catches the vertex heights of the patches used.
When rendering water if there is not any vertex below water level, the whole patch is skipped. For the patches that are shown, their height levels are cached and faster to access.
It also fixes the // TODO: stop using g_Game
An improvement by using this patch could be to only call the TerrainRenderer::RenderWater if any of the patches has been submitted to be rendered with any vertex below water level.
Attachments
Change History
comment:4 Changed 2 years ago by k776
- Owner changed from kromxp to philip
Work is included in or made obsolete by eihrul_'s frakenpatch. See http://lee.fov120.com/0ad-frankenpatch.diff . Ticket will be closed once frankenpatch is reviewed and committed.
Note: See
TracTickets for help on using
tickets.
