17634d7507
Move the minimap to only use the shader pipeline. Should make it OpenGL ES compatible (untested).
...
This was SVN commit r15533.
2014-07-14 17:15:22 +00:00
fe3315376c
Add BoundingSphere, SOverlaySphere.
...
BoundingSphere is similar to a bounding box, but more spherical.
SOverlaySphere is useful for visualising BoundingSphere (it's quite
inefficient and should only be used for debug functionality).
Normalise the camera frustum clipping planes, so that IsSphereVisible
gives the correct result.
This was SVN commit r15261.
2014-06-01 18:05:46 +00:00
7cb4c0dcfc
Partial fix of minimap rendering for GLES.
...
Replaces glBegin/End with glDrawArrays, GL_QUADS with GL_TRIANGLES, and
modifies shaders as needed.
This was SVN commit r14153.
2013-11-12 01:31:52 +00:00
b770c41f0b
Removes shadow casting and receiving on preview entities, patch started by ericb, fixes #1771
...
This was SVN commit r13706.
2013-08-18 22:17:57 +00:00
d40a66f310
Fix particle to correctly display in the FOW, and to adapt slightly to sunColor settings (both on ARB and GLSL).
...
This was SVN commit r13287.
2013-03-15 10:22:24 +00:00
gregory
6f4b1ec5a1
eihrul's shadow filter patch, fixes ticket #1738 .
...
This was SVN commit r12929.
2012-12-03 19:34:43 +00:00
f456112492
Shadowmapping bugfixes and tweaks.
...
This was SVN commit r12884.
2012-11-25 18:35:59 +00:00
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
38c1a4c4a1
Modified sky, minimap and healthbar renderers to use shaders, to fix a bug reported by historic_bruno
...
This was SVN commit r12551.
2012-08-29 23:07:53 +00:00
7ba2b8947c
Attempting to fix a graphical bug affecting ARB mode
...
This was SVN commit r12507.
2012-08-21 18:04:05 +00:00
88ab3f0f5b
Terrain/decal materials (includes triplanar/normal/specular/emissive mapping); custom alphamaps
...
This was SVN commit r12306.
2012-08-07 18:21:16 +00:00
dd072112d1
Improved shadow filtering, from eihrul.
...
This was SVN commit r11896.
2012-05-21 19:23:14 +00:00
34fc883317
Pretty unit selection overlay rings. Fixes #824 .
...
This was SVN commit r11623.
2012-04-22 04:04:02 +00:00
a07dd82a70
Allow materials to disable receiving shadows
...
This was SVN commit r11500.
2012-04-14 17:32:22 +00:00
d3a24c26ba
Do alpha-testing earlier in ARB shaders, for performance.
...
This was SVN commit r11477.
2012-04-10 21:08:54 +00:00
05008d190e
Clean up terrain shader a bit
...
This was SVN commit r11473.
2012-04-10 20:55:01 +00:00
4b5bd36d9b
Multiply specular lighting by sun color
...
This was SVN commit r11460.
2012-04-08 23:03:22 +00:00
f3617822e0
Make AlwaysVisible objects always visible in shader mode. Fixes #908 .
...
This was SVN commit r11454.
2012-04-08 16:36:23 +00:00
b7888aea52
Add support for specular materials.
...
Let materials specify shader uniform values.
Use interned strings for shader uniform/attribute names.
Remove confusing float* cast operator on CVector4D.
Simplify and clean up CVector4D.
Remove non-supported 'old' lighting model.
This was SVN commit r11453.
2012-04-08 15:55:06 +00:00
59447bce2e
Move shaders into appropriate subdirectories.
...
Delete some obsolete shader files.
This was SVN commit r11424.
2012-04-03 19:45:58 +00:00