513 Commits

Author SHA1 Message Date
hiker
860135376d Start to fix resolution change by properly freeing data. 2015-06-10 10:33:47 +10:00
hiker
a51d56a6e5 Merge remote-tracking branch 'origin/master' into refactor_shaders
Conflicts:
	src/tracks/track_object_presentation.cpp
2015-06-01 09:28:23 +10:00
hiker
e5a7f27f19 Renamed files to follow our coding style. 2015-05-30 12:16:11 +10:00
hiker
48235a5d77 Turned ShadowMatrices into a stand-alone proper class. 2015-05-30 11:29:08 +10:00
hiker
93f24f2a74 Removed Shaders instance out of irr-driver, and use a class
with static members instead.
2015-05-08 23:46:52 +10:00
deve
f019f8622c Make sure that window size is larger than 0 2015-05-04 11:09:53 +02:00
hiker
8d07d26c25 Updated (c) year to include 2015. 2015-03-30 11:42:50 +11:00
hiker
bcd9654a86 Added missing GPL license. 2015-03-30 11:42:28 +11:00
Flakebi
9417b80a5c Fix FPS display 2015-03-30 01:22:59 +02:00
hiker
27dec2fbf8 Added attribute to irrlicht's driver to enable automatic resize
of images that are too big. This is then used to automatically
resize any textures (except fonts, background screen) to be
automatically resized to 512x512 if they are bigger.
2015-03-26 11:28:22 +11:00
hiker
98671b620d Added some support to enable a legacy (2.1) opengl context. Many
things don't work with that atm (rtt, some transparent textures).
Needs to be manually set in the user's config file.
2015-03-11 16:45:20 +11:00
Marianne Gagnon
d5736f3a5e Fix #1954, part 1 2015-03-01 22:04:20 -05:00
Marianne Gagnon
bbf8a6c934 Merge "cherry-picked" interesting commits from pull request #1850 2015-01-16 18:35:37 -05:00
Vincent Lejeune
c8bd922314 Fix attempt for #1836
Reinitialize m_sun_interposer each time we load a track
2015-01-17 00:26:06 +01:00
Marianne Gagnon
a2c8e1d982 Prevent crashes due to invalid values in shadow resolution 2015-01-12 19:05:54 -05:00
Vincent Lejeune
8798eda41b Remove hardware skinning files 2015-01-11 00:59:09 +01:00
Deve
d0f96a7673 Allow to cross-compile Windows build under Linux using MinGW.
It works fine on Ubuntu. You only need to use:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake
2015-01-08 21:46:59 +01:00
hiker
949c16cfb0 Changed GrpahicsRestriction API to just use one isDisabled(...) function. 2015-01-06 17:09:16 +11:00
hiker
93a3e6c3da Allow irrlicht to use an existing file system (instead of creating
a new each time a device is created). This simplifies the implementation
of the file manager (now the file manager always exists, even when
deleting the dummy device and creating the real device).
2015-01-06 07:48:32 +11:00
Deve
d6c099b50b Move window to max available position if remembered position is out of range. 2015-01-02 13:48:36 +01:00
Deve
bab97833b7 Don't restore window position if it's out of the screen.
This should be done by window manager anyway.
2015-01-02 13:05:41 +01:00
konstin
7fb129ab05 Make red, green and blue of the nearest visible lamp changable 2014-12-30 18:47:25 +01:00
Vincent Lejeune
f644543bc1 Move all gfx related config to a separate file 2014-12-27 03:14:16 +01:00
Vincent Lejeune
e421a05663 Remove unecessary files. 2014-12-23 20:35:54 +01:00
Vincent Lejeune
84ee2c7018 Disable texture compression on Intel Mesa too 2014-12-20 00:32:56 +01:00
Marianne Gagnon
0af3f3de83 Misc tweaks, mainly to include new island tracks in challenges and GPs, and other minor fixes 2014-12-15 21:34:22 -05:00
Marianne Gagnon
3226189d82 Force disable shadows and GI when OpenGL is not recent enough. Fixes #1722 2014-12-11 20:18:00 -05:00
Vincent Lejeune
5f47fee897 Cleanup skybox preparation code 2014-12-11 20:42:18 +01:00
Vincent Lejeune
d84d103b03 Wrap azdo check into a function call 2014-12-09 18:21:07 +01:00
hiker
25e059dd3e Merge remote-tracking branch 'origin' into copy_kart_mesh 2014-12-09 08:50:23 +11:00
hiker
b764339b20 Moved cloning of animated mesh into CSkinnedMesh (to get access to
private members). Fixed animation bug, caused by copying already
animated vertex position from LocalBuffer to Weight (so they were
then later animated again). Might need a better solution to avoid
copying mesh twice (LocalBuffer = Weight, followed by Weight = LocalBuffer).
2014-12-08 23:39:41 +11:00
Vincent Lejeune
8f3b8cf448 Implement specular IBL properly 2014-12-05 16:42:49 +01:00
Vincent Lejeune
7e2add8c53 Clean lensflare related file
A new method is used now.
2014-12-01 21:07:29 +01:00
hiker
c3f5294c27 Changed line endings. 2014-12-01 12:00:43 +11:00
hiker
9dd46b6755 Try to copy the animated kart mesh. 2014-12-01 11:41:14 +11:00
Vincent Lejeune
7a92a4a8ef Disable texture compression on Intel 2014-11-29 01:27:54 +01:00
Flakebi
aecd9c4b80 Fix crash with --no-graphics 2014-11-20 21:22:58 +01:00
Vincent Lejeune
ed2374ae05 Rotate suncam
It might improve shadow quality
2014-11-19 01:37:41 +01:00
Vincent Lejeune
1253893043 Fix for OSX 2014-11-16 01:48:40 +01:00
Vincent Lejeune
3c42223add Try graphical restrictions on nvidia old drivers 2014-11-15 03:10:23 +01:00
hiker
be461b7a39 Try to fix crash at startup. 2014-11-15 12:05:14 +11:00
hiker
2ec5c3765a Added a config file which can be used to disable certain graphical
options dependeing on card, os, driver version.
2014-11-15 10:06:54 +11:00
hiker
bfe7bff877 Fixed #1680 (notification shown at wrong place after changing resolution). 2014-11-10 16:32:35 +11:00
Vincent Lejeune
833f162d1a Enable m_support_sdsm by default 2014-11-08 01:19:27 +01:00
Vincent Lejeune
cacb008ae6 Prepare compute shader to stretch lightcoord 2014-11-07 13:42:13 +01:00
Vincent Lejeune
17aafae42c Merge remote-tracking branch 'origin/esm' 2014-11-03 01:02:27 +01:00
Vincent Lejeune
f2da00954d Check if textureview is available before filtering 2014-11-03 00:57:07 +01:00
Flakebi
abf7bacfea Merge branch 'upstream/master' into perPlayerDifficulties
Conflicts:
	src/graphics/stkmesh.cpp
	src/states_screens/kart_selection.cpp
2014-10-31 16:47:34 +01:00
Vincent Lejeune
6ea56bb974 Display bounding boxes 2014-10-31 01:46:35 +01:00
Vincent Lejeune
40932fadeb Make resolution change more robust 2014-10-28 23:43:41 +01:00