Deve
66e76be76d
Don't use hardcoded path for irrlicht shaders
2016-07-06 06:37:22 +02:00
Deve
c07472cf38
Simplify #ifdef's a bit
2016-06-30 00:29:15 +02:00
Deve
d13716a917
Initial linux version.
...
Currently works only with irrlicht-based renderer because shaders are not ported yet.
2016-06-24 02:47:13 +02:00
Lucas Baudin
5e125ee5c1
[android] less hacky way to disable glsl
2016-02-26 19:40:52 +01:00
Lucas Baudin
d88f414f96
[android] disable GLSL and set width/height according to the size detected by the driver
2016-02-26 18:04:03 +01:00
Lucas Baudin
cb3b3a0eaf
[android] use PrivateData in irr_driver to give the androidapp to the driver
2016-02-25 23:11:26 +01:00
Lucas Baudin
f91426d748
[android] Use CIrrDeviceAndroid before the console device…
2016-02-25 20:38:50 +01:00
Lucas Baudin
e39efc128c
[android] backport the Irrlicht.cpp createDevice changes, fix the compile error, and use OGLES2 on android
2016-02-25 20:15:24 +01:00
Lucas Baudin
368a230ed7
Put some preprocessor macros to prevent unsupported GLES calls
2016-02-25 13:56:43 +01:00
Deve
2da5efd983
Simplify code a bit
2016-01-08 20:20:03 +01:00
Deve
280ad614bb
Fixed creating screenshots in menu screens
2016-01-08 20:20:03 +01:00
Deve
306ace7fd2
Keep consistency with log label in irr driver
2015-12-11 19:18:14 +01:00
Deve
7dd7f76e87
Check if we really need to re-create the device by checking if framebuffer is sRGB or not.
2015-12-11 19:18:14 +01:00
Deve
80d36208f1
Added ugly hack, which forces srgb-capable framebuffer creation for intel drivers on linux
2015-12-11 19:18:14 +01:00
Deve
0216fd9697
Request sRGB-capable visual during creating OpenGL context.
...
We need it for proper working. When it's not available, then function glEnable(GL_FRAMEBUFFER_SRGB) doesn't take any effect, and then displayed image is too dark.
It doesn't solve the issue that the screen is too dark for intel graphics cards on linux, because the driver ignores this request. But still, this is the proper way to do it and it may avoid similar issues in future.
Actually we should detect that the visual is not srgb-capable, and in this case maybe make some gamma correction or filter it on our side to get similar effect.
2015-12-11 19:18:14 +01:00
Marianne Gagnon
2252495fdc
Scripting refactor : add new property animator helper, transfer light animations to this new animator class. Can be used in the future to animate more properties
2015-12-05 19:42:06 -05:00
deve
94d5c19b7f
Fixed compiler warnings.
...
The winsock2.h header should be always included before windows.h header (or we should define WIN32_LEAN_AND_MEAN). It's because windows.h header includes also winsock.h header and there is possible conflict between winsock and winsock2.
I didn't test in on Visual Studio yet. I hope there is no WIN32_LEAN_AND_MEAN redefinition errors...
2015-12-03 14:59:54 +01:00
Deve
500cbe2ebf
Allow to use 1280x720 resolution.
...
This is quite popular resolution and it is a kind of standard. Even the most of new monitors have it because it has the same porportion as 1920x1080. And it looks much better than 1024x768 expanded to 16:9 proportionos ;) I also didn't notice any issues in gui during using it.
2015-10-09 13:47:19 +02:00
Deve
895579cba9
Fixed starting a race on OpenGL 2.1
2015-10-03 17:02:49 +02:00
Deve
11f6084fc5
Fixed crash on exit and changing resolution with old opengl.
...
Regression introduced in commit 93f24f2a745caea630018126885f06b3d1fd7933.
Playing the real game is still not working.
2015-09-27 14:18:09 +02:00
Marianne Gagnon
4c09d459cb
Fix gamepad visualisation mode by request a legacy openGL context. Temporary fix, the proper long-term fix will be to rewrite that screen with modern OpenGL. See #2098
2015-09-12 19:44:58 -04:00
hiker
309097b0db
Fixed #2151 (by disabling 800x600 resolution, except in artist debug mode).
2015-08-20 11:03:46 +10:00
hiker
8aeb16221a
Fixed displaying of debug spheres in GLSL pipeline.
2015-08-18 23:50:55 +10:00
Elderme
87b493aaa2
Cleaned code
2015-08-07 15:11:32 +02:00
Elderme
f583fafd97
Fixed bug (SH textures were not taken into account)
2015-08-07 14:26:38 +02:00
Elderme
30ecf34b37
Spherical harmonics coefficients are no longer recomputed when the ambient light do not change
2015-08-07 13:50:44 +02:00
Elderme
9ea3d4958a
Improved coding style and added doxygen comments in ShericalHarmonics class
2015-08-06 14:47:38 +02:00
Elderme
c3f77a3b72
Fixed kart selection screen rendering (ambient light was broken)
2015-08-04 10:49:39 +02:00
Elderme
39d1c87b11
Fixed incorrect rendering when there is no spherical harmonic textures
2015-07-30 08:14:57 +02:00
Elderme
97ed8b2dbf
splitted skybox class in Skybox and SphericalHarmonic classes
2015-07-30 08:14:57 +02:00
Elderme
3640e4a69a
Move skybox things from irr_driver to Skybox class.
2015-07-30 08:14:57 +02:00
Elderme
cf40c402ba
Add a Skybox class
2015-07-30 08:14:57 +02:00
hiker
4ec423ff35
Coding style improvements.
2015-07-01 08:22:43 +10:00
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