wraitii
f106d7714a
Fix a swap between reflections and refractions in config.cfg . Disabling "Render Reflections" now reverts to the skybox for better results.
...
Allows to oversaturate in Atlas' HDR settings.
This was SVN commit r13752.
2013-08-24 14:44:38 +00:00
wraitii
957c51727b
Improve on-water shadows. Fix an issue with foam looking static. Add anisotropic filtering (x4) to the water normal texture for testing.
...
This was SVN commit r13750.
2013-08-24 14:12:39 +00:00
Ykkrosh
deb64d36fc
Fix rendering artifacts with novbo=true gentangents=true
...
glDrawRangeElements needs to know the range of vertexs that are used
by the index array. With VBOs it doesn't really matter if the range
is wrong (all the vertexes are in GPU memory anyway), but with CPU
vertex arrays the driver has to memcpy the given range of data, so
incorrect bounds will result in garbage data being rendered.
With gentangents, the rendered mesh can have more vertexes than the
original CModelDef, but was rendered with the CModelDef's vertex count.
Use the correct vertex count instead.
Refs #2050 .
This was SVN commit r13734.
2013-08-21 21:01:32 +00:00
wraitii
ee877a46c7
Switch X and Z loops in the foam generation, possible speed improvement.
...
This was SVN commit r13720.
2013-08-20 08:55:33 +00:00
Ykkrosh
1739a381c1
Fix crash when editing terrain near map edges.
...
The values in CMessageTerrainChanged can be overestimates that exceed
the normal map boundaries, and should be clamped before looping over
them.
This was SVN commit r13714.
2013-08-19 19:19:34 +00:00
wraitii
29b5021f97
Fix my previous commit because obviously I had forgotten something.
...
This was SVN commit r13699.
2013-08-18 09:42:02 +00:00
wraitii
a4707bcc16
Change the water manager so incremental updates to the water information is possible. Streamline a few things (and removes a not-really-used calculation to speed things up further). Fixes #2063 , refs #1743 .
...
This was SVN commit r13698.
2013-08-18 09:27:11 +00:00
historic_bruno
7ff167e7de
Removes more unused variables, based on patch by Markus, refs #1852 .
...
Adds TODOs to use POT textures in fancy water rendering.
This was SVN commit r13663.
2013-08-15 18:25:32 +00:00
historic_bruno
047992e61a
Fixes possible memory leaks by only allocating wave vertex buffers once and only when needed, and releasing them before re-allocating (in case CreateSuperfancyInfo is called multiple times).
...
Checks if wave vertex buffers were allocated before rendering, fixes
#2017
This was SVN commit r13561.
2013-07-15 03:26:48 +00:00
wraitii
595c964d77
Make water specular more visible and fixes a few cases where it would actually hardly appear when it should.
...
Adds the ability to access an element in a dropdown box by typing the
first letters (Refs #1532 ).
This was SVN commit r13556.
2013-07-14 12:17:07 +00:00
wraitii
408c30e061
Probably fixes #2021 . Optimization for foam generation while I'm at it (it's faster now, but there's a new temporary array of the size of the map)
...
This was SVN commit r13555.
2013-07-14 08:06:07 +00:00
historic_bruno
facd447d0f
Hopefully fixes GCC warning about narrowing conversion in C++11, fixes #1851
...
This was SVN commit r13470.
2013-06-11 02:40:49 +00:00
historic_bruno
17bb997e0e
Fixes memory leak in CVertexBuffer::Release, patch by Markus, fixes #1933
...
This was SVN commit r13423.
2013-05-23 23:16:36 +00:00
historic_bruno
94c57085e9
Makes some classes NONCOPYABLE, based on patch by Markus, refs #1852
...
This was SVN commit r13419.
2013-05-22 21:40:56 +00:00
historic_bruno
d7dcd3b26c
Use prefix increment operator for iterators (for consistency), refs #1852 , #1064
...
This was SVN commit r13418.
2013-05-22 18:41:13 +00:00
wraitii
136f1891c1
Fixes a fix about a fix on the waterManager. Fixes #1891
...
This was SVN commit r13411.
2013-05-21 08:55:49 +00:00
wraitii
9a0749f3c9
Make sure to actually prevent Atlas from trying to render coastal waves. Fixes #1925
...
This was SVN commit r13386.
2013-05-01 06:47:49 +00:00
historic_bruno
d9540ad7f6
Fixes MSVC build error and warning
...
This was SVN commit r13375.
2013-04-27 22:43:22 +00:00
wraitii
4233acfa36
Slight clean up of the water code. Uses vertex data instead of a texture for foam. Should be faster to generate and render. Still no Atlas support.
...
This was SVN commit r13374.
2013-04-27 12:20:42 +00:00
historic_bruno
a317cd9cba
Fixes memory leak and removes unused code in WaterManager, fixes #1891 , refs #1852
...
This was SVN commit r13337.
2013-04-03 03:30:10 +00:00
historic_bruno
a87019ea5a
Render initial game view during loading screen, to begin loading assets and eliminate ugly terrain blending artifacts. Refs #1663
...
This was SVN commit r13181.
2013-02-22 07:32:22 +00:00
wraitii
abd98ad581
Re: disable foam and coastal waves in Atlas until properly optimized (this time with 100% more it-does-not-bug). Refs #1743
...
(sorry about the last time, should not blindly commit).
This was SVN commit r13146.
2013-02-03 15:49:41 +00:00
historic_bruno
f51e129628
Temporary revert of revert from 38b0c0eb72 to fix water maps in Atlas, refs #1743
...
This was SVN commit r13138.
2013-01-31 23:03:09 +00:00
wraitii
38b0c0eb72
Reverts some changes: Atlas now won't recompute the water foam on terrain change, thus reducing the lag until I properly optimize it. refs #1743
...
This was SVN commit r13120.
2013-01-26 17:10:12 +00:00
Ykkrosh
75a23856cf
Fix some static analysis warnings
...
This was SVN commit r13101.
2013-01-21 20:33:25 +00:00
leper
276f0a41a0
New Year's clean-up.
...
Throw a warning if a invalid (not present) AI is specified in a map.
Replace the last occurences of jubot with qbot.
Exclude the common siege templates from the Units Demo map.
Fix an error with flying units.
Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to
CFG_GET_VAL to reflect its behaviour better.
Fix linker error with clang 3.2. Refs 1588.
Remove some useless includes.
This was SVN commit r13031.
2013-01-01 18:33:53 +00:00
wraitii
61734c48d4
Fix a logic error that lead to reflections always being rendered. Might ref #1744
...
This was SVN commit r13013.
2012-12-23 10:50:30 +00:00
historic_bruno
e7ef6a57ad
Fixes some build errors from the OS X 10.5 SDK, refs #1768
...
This was SVN commit r12998.
2012-12-18 22:58:34 +00:00
historic_bruno
5c94761c3e
Fixes use of NULL for non-pointer type, fixes #1765
...
This was SVN commit r12997.
2012-12-18 22:52:55 +00:00
historic_bruno
a4a060cd86
Fixes build warning and cleans up a few things
...
This was SVN commit r12895.
2012-11-26 02:28:35 +00:00
myconid
f456112492
Shadowmapping bugfixes and tweaks.
...
This was SVN commit r12884.
2012-11-25 18:35:59 +00:00
wraitii
d4ea031334
Fix a warning, a bug, and modifies the setting for the Cycladic Archipelagos maps.
...
This was SVN commit r12838.
2012-11-10 07:48:43 +00:00
wraitii
76676b1e38
Fix a non-fatal GL error, fix me forgetting to commit a file, remove the "3D" waviness setting as it was mostly redundant with HQ.
...
This was SVN commit r12822.
2012-11-05 12:14:04 +00:00
wraitii
ed7c66eb82
Updates the water settings: features can now be enabled individually for more modularity. Fixes a few bugs. Allows it to be run at an acceptable speed in Atlas.
...
This was SVN commit r12817.
2012-11-04 15:54:36 +00:00
wraitii
a3ddd7b1b3
Fix for some problems when using shadows with the superfancywater.
...
This was SVN commit r12809.
2012-11-02 13:08:58 +00:00
wraitii
cf23990192
Updates random maps with new settings for the new water shader. Type ambiguity tweaks in WaterManager.
...
This was SVN commit r12806.
2012-11-01 10:17:54 +00:00
historic_bruno
79f2fc1ac1
Fixes build error on MSVC, use of sqrt was ambiguous. Refs #1572
...
This was SVN commit r12804.
2012-10-31 20:59:43 +00:00
wraitii
fb035d08e3
fixes #1572 and fixes #932
...
Changes the water rendering in game to support higher quality effects
and to look nicer.
This was SVN commit r12802.
2012-10-31 18:42:17 +00:00
myconid
97b46d402c
Removing GL3 dependency from GPU skinning code.
...
This was SVN commit r12801.
2012-10-30 21:57:00 +00:00
myconid
367c67d6ad
GPU-skinned tangent-space effects for non-instanced units, plus a bit of cleanup.
...
This was SVN commit r12795.
2012-10-29 13:20:21 +00:00
myconid
1fb7889539
Postproc manager
...
This was SVN commit r12755.
2012-10-15 10:34:23 +00:00
myconid
9e328e6b9f
Changing sky manager to render sky using cubemaps, to avoid duplication of sky textures in memory.
...
This was SVN commit r12727.
2012-10-03 12:40:01 +00:00
historic_bruno
7d8dc05c68
Fixes actor viewer bug where view was obstructed by map's water level. Fixes #1562 .
...
Adds water plane option to actor viewer.
This was SVN commit r12715.
2012-09-28 18:20:36 +00:00
myconid
db4b08d1ad
Slight changes to the cubemap stuff in the sky manager, to make it behave better after archivebuild.
...
This was SVN commit r12697.
2012-09-21 20:22:23 +00:00
myconid
11b1c59397
A minor change to water rendering on models.
...
This was SVN commit r12677.
2012-09-16 11:39:04 +00:00
myconid
779a33ee30
Water and waterfall shaders, materials and examples.
...
This was SVN commit r12643.
2012-09-08 18:56:13 +00:00
myconid
3efb235725
And re-enabling the stuff disabled for debugging 2
...
This was SVN commit r12632.
2012-09-04 17:30:01 +00:00
myconid
10101b138d
And re-enabling the stuff disabled for debugging
...
This was SVN commit r12631.
2012-09-04 16:59:03 +00:00
myconid
8b10290f78
Disabling some LOD stuff to track down Deiz's bug (as a result, parallax also temporarily disabled)
...
This was SVN commit r12629.
2012-09-04 15:55:36 +00:00
myconid
1ba858bf6e
More on that bug (warning: renderer temporarily slower)
...
This was SVN commit r12628.
2012-09-04 12:34:02 +00:00