69 Commits

Author SHA1 Message Date
shadowislord
3ef5505faa Allow render buffers to use 'Depth' format even if depth textures are not supported.
Fixes post processing on GPUs without depth texture support (e.g. NVIDIA Tegra)
2014-11-02 19:14:08 -05:00
shadowislord
3fa56c9467 Fix texture alpha channel not working on Android due to it premultiplying it by default. Fixes terrain shader. 2014-11-01 20:38:24 -04:00
shadowislord
661053689d Fix glClear not working properly if the last rendered model disabled depth or color writing (fix issue #639 on google code) 2014-09-21 18:19:54 -04:00
Nehon
a709ba9a77 Use of glBufferData instead of glBufferSubData in android renderer, because it seems to cause GL oom on some devices. 2014-09-11 21:23:04 +02:00
pspeed42
5a482e2b98 Added another Photoshop tyle blend mode: Exclusion
Performs a sort of color XOR with source and destination.
Very useful for UI highlighting but is a bizarre (and
potentially useful) effect in 3D.
2014-09-10 14:00:27 -04:00
shadowislord
dbd9ed9d78 Merge pull request #126 from kwando/screen_blendmode
Add Screen blend mode.
2014-09-07 16:54:23 -04:00
Nehon
ca6d3f4e73 Commented out a line in the OglesShaderRenderer (android) that was occasionally causing a crash on android.
This line was already commented in other renderers, and I have to admit I have no clue of what it does except crashing the app
2014-08-12 23:05:24 +02:00
Nehon
1b7421a153 Used correct colorSpace in android Image loaders 2014-07-02 20:55:02 +02:00
Hannes Nevalainen
dd88363900 Screen blend mode for andriod. 2014-07-01 19:23:28 +02:00
shadowislord
65094e9ca1 * Put the shader compile log on the next line so its slightly more readable 2014-06-05 23:28:28 -04:00
shadowislord
6b12d5c638 * Fix many javadoc errors mostly related to incorrect HTML or missing references 2014-05-31 13:12:46 -04:00
shadowislord
81498d6f79 * Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations. 2014-05-31 12:27:31 -04:00
shadowislord
35cfae5ef0 * Merge revision 11058 from experimental branch
- Add instanced geometry support. This is performed by uploading 4 vertex buffers each containing 4 floats. The top 3 rows are the world matrix and the bottom row is a quaternion representing the normal matrix. Hence, both unshaded and lit geometries can be rendered through instancing.
See Instancing.glsllib for more information as well as the comment in LwjglRenderer.
2014-05-31 11:46:58 -04:00
Nehon
e4ba4e9e9e - Image loaders now assume ALL images are in sRGB space and set the flag accordingly
- All images constructors now take the isSrgb flag as a parameter, all engine classes has been changed to accommodate the change, old constructors has been deprecated for backward compatibility. One should always ask himself in which color space is an image if dealing with gamma correction
- Gamma correction has been defaulted to false in the appSettings
2014-05-26 12:11:56 +02:00
Nehon
77a4002c3d Added support for hardware srgb output (gamma correction).
It can be toggled at render time.
Works with lwjgl
Couldn't test with Jogl and might be not working
Not supported by mobile renderers
2014-05-26 12:11:55 +02:00
iwgeric
7c8fa29b26 Adding a VideoRecorderAppState for Android. Performance is really bad, but it will at least run and store the AVI. Not really intended for app usage, but it's been handy in a couple of places. Just committing to lot lose the changes necessary to make it run. More work required, for sure. 2014-03-31 13:12:10 -04:00
iwgeric
d1033005ae Change AndroidAssetManager to use the native lib to load png and gif files 2014-03-24 00:48:30 -04:00
iwgeric
ee8e42f921 add native android lib for loading png and gif files. Does not premultiply. Uses stb_image (http://www.nothings.org/stb_image.c) 2014-03-24 00:47:08 -04:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00