Commit Graph

15927 Commits

Author SHA1 Message Date
Deve
c07472cf38 Simplify #ifdef's a bit 2016-06-30 00:29:15 +02:00
Deve
742fb309df Totally disable code that needes gles 3.1. 2016-06-29 23:58:45 +02:00
Deve
3ae175e05a Fixed skybox rendering.
The GL_SRGB_ALPHA_EXT and GL_SRGB8_ALPHA8 formats are available in OpenGL ES, but they produce black texture for some reason. The basic GL_RGBA format works fine though.
2016-06-29 22:24:17 +02:00
Deve
961428f04c Increase _IRR_MATERIAL_MAX_TEXTURES_ to 8 2016-06-29 22:18:24 +02:00
Deve
0fb119068b Fixes in more shaders 2016-06-28 21:55:51 +02:00
Deve
51d3b71ec6 Already working advanced lighting! 2016-06-27 23:24:39 +02:00
Deve
bf54626815 Added missing file 2016-06-27 23:06:48 +02:00
Deve
f73befbe0b Fixed particles 2016-06-27 23:05:25 +02:00
deve
964baad705 Some fixes 2016-06-27 13:39:20 +02:00
deve
d5e30ee41e Port also other shaders to use #stk_include 2016-06-27 13:11:27 +02:00
Deve
f679078e75 Port some basic shaders to use #stk_include.
Already working race with disabled advanced lighting :)
2016-06-26 16:39:34 +02:00
Deve
b27f771318 Fixed compiler warning and remove debug output 2016-06-26 16:38:19 +02:00
Deve
e46905b106 Added #stk_include directive for our shaders.
OpenGL ES doesn't allow to link multiple shaders into one program. We can just join it on our side and compile it as one file instead.
2016-06-26 16:05:05 +02:00
Deve
9ce190f704 Fixed missing dot in file name 2016-06-26 10:19:34 +02:00
Deve
c26f7a91d7 Temporarily disabled checking for framebuffer completion 2016-06-25 15:11:52 +02:00
Deve
ce8a1c4e1b Already working GUI in shader-based pipeline 2016-06-25 15:10:53 +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
Odd0002
416edef95d Fix debug build on GCC 5.3.0 2016-06-23 23:10:36 +02:00
Lucas Baudin
287349716c [android] hack to control the kart with the accelerometer (to be moved in a proper place - just for debugging purpose right now) 2016-02-27 00:23:55 +01:00
Lucas Baudin
b8ef827510 [irrlicht/android] don't poll events or it creates a race lock when polling accelerometer events elsewhere 2016-02-27 00:23:08 +01:00
Lucas Baudin
aee2835e54 [android] unsuccessfully trying to add debug flags 2016-02-27 00:21:49 +01:00
Lucas Baudin
88419935b7 [android] fix typo in the readme 2016-02-27 00:20:37 +01:00
Lucas Baudin
c842324b75 [android] stop makefile target to kill a running stk 2016-02-27 00:19:47 +01: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
86d1ca811a [android] re-enable things in 2dutils.cpp that are available with opengles 3.0 2016-02-26 18:02:41 +01:00
Lucas Baudin
e9657beaa6 [android] detect size 2016-02-26 18:01:51 +01:00
Lucas Baudin
6dc2752c81 [android] update readme 2016-02-25 23:20:07 +01:00
Lucas Baudin
a76b98de89 [android] Add the patch used to have a lighter dataset 2016-02-25 23:16:44 +01:00
Lucas Baudin
0dc59b9e4a [android] Boilerplate code to launch stk main 2016-02-25 23:14:03 +01:00
Lucas Baudin
f484e7ef6b [android] More debug print for the android irrlicht device 2016-02-25 23:13:33 +01:00
Lucas Baudin
40b45a8442 [android] Disable command line 2016-02-25 23:12:14 +01:00
Lucas Baudin
3f13d69eb3 [android] Remove the main loop from main to debug things more easily 2016-02-25 23:12:02 +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
419b516dcf Add extra stk-assets possibility (inside the data/) 2016-02-25 23:10:27 +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
d2b5d5ad05 [android] auto-download jpeglib 2016-02-25 19:38:36 +01:00
Lucas Baudin
dacb6a41d3 [android] Add angelscript to libstk.so 2016-02-25 19:36:26 +01:00
Lucas Baudin
658ab615d2 Fix freetype build system 2016-02-25 19:30:00 +01:00
Lucas Baudin
81f759e876 Don't use pthread at all if no curl 2016-02-25 16:49:33 +01:00
Lucas Baudin
22b8d15939 Switch to OGLES2, it seems to be working 2016-02-25 16:48:39 +01:00
Lucas Baudin
2b543ca88d Add src symlink, add build system to build the rest of stk, freetype, ifaddrs, etc… Does not compile yet 2016-02-25 16:47:48 +01:00
Lucas Baudin
de576272e6 Add android makefile (it was ignored by the .gitignore…) and ignore freetype and ifaddrs (downloaded via the makefile) 2016-02-25 16:46:35 +01:00
Lucas Baudin
3a663f8e71 Shaders and data files for the irrlicht example 2016-02-25 16:44:55 +01:00
Lucas Baudin
2c9f2c84c5 More macros to disable extra gl calls 2016-02-25 16:27:50 +01:00
Lucas Baudin
f89a4b1a75 Merge back the IEvent changes 2016-02-25 15:55:52 +01:00
Lucas Baudin
368a230ed7 Put some preprocessor macros to prevent unsupported GLES calls 2016-02-25 13:56:43 +01:00
Lucas Baudin
02808cdfd0 GLES2 for android devices by default 2016-02-25 12:06:54 +01:00
Lucas Baudin
d4d3817d63 Disable sound and curl, add freetype 2016-02-24 22:24:33 +01:00