368 Commits

Author SHA1 Message Date
Kirill Vainer
1fec72605f SPLighting.frag: fix syntax error with vertex lighting enabled 2015-04-25 23:13:20 -04:00
Kirill Vainer
0c846eaf6a SPLighting: fix syntax errors with vertex lighting + color ramp 2015-04-25 23:11:10 -04:00
Kirill Vainer
0a3e9a434e Image: treat setMipMapSizes as a request to generate mips 2015-04-25 23:09:11 -04:00
Kirill Vainer
10cde0a4b2 DXTFlipper: fix incorrect flipping of DXT5 images of size 2x2
For DXT1/3 images, the format for color and alpha blocks is the same,
so the bug would not appear. For DXT5 images, the alpha block is formatted
differently. The issue is that it flips the color block and then the alpha
block for 2x2 images, but the correct order is alpha block then color block.
2015-04-25 22:42:20 -04:00
Kirill Vainer
aba48495e1 J3MLoader: enforce MaterialKey requirements based on extension 2015-04-25 18:25:07 -04:00
Kirill Vainer
ed4b70bcad GLTiming: new GL wrapper to profile GL calls 2015-04-25 17:41:50 -04:00
Kirill Vainer
a6c71c4f50 Fix missing glPatchParameter and another syntax error 2015-04-25 17:34:29 -04:00
Kirill Vainer
5b95f8a4b0 GLRenderer: Improve compatibility with OpenGL 3.2 core profile
* Separate GLFbo and GLExt implementations. GLFbo can now be implemented either via vanilla OpenGL3 calls or GL_EXT_framebuffer_*** extensions (OpenGL2.1- only).
 * Use modern way of getting supported extensions in core profile.
 * Luminance and Alpha formats are not available when running in core profile.
 * Bind a dummy vertex array object (VAO) when running in core profile.
 * Point sprite mode is always enabled. Since both OpenGL ES 2.0 and OpenGL 3.2 core require it, jME3 is no longer capable of rendering regular points.
2015-04-25 16:57:24 -04:00
Kirill Vainer
73f53931f0 Image: fix mipmap generation flags not properly being updated 2015-04-24 23:35:30 -04:00
Kirill Vainer
9ba04bed8f GLRenderer: Merge Color and Screen BlendModes as they are they same 2015-04-24 23:31:52 -04:00
Nehon
7e78651ed4 Shader Nodes : fixed an issue in the shader generator that was caussing an error when there was a "//" comment in the declarative section of a node glsl code 2015-04-22 20:57:33 +02:00
Kirill Vainer
aeb1b547ce FBX: fix build errors (missing functions that need to be added) 2015-04-19 21:03:51 -04:00
iwgeric
fecfa8ccd0 Android: add joystick compatibility mapping for XBOX 360 controller connected to Android device using USB dongle 2015-04-19 12:38:43 -04:00
shadowislord
36493353c9 TechniqueDef: fix caps loading for shader language versions 2015-03-29 11:47:58 -04:00
shadowislord
414e1b3fff Lighting.glsllib: Use quadratic spotlight falloff in SRGB mode 2015-03-27 23:34:53 -04:00
shadowislord
26109fcbac (SP)Lighting.vert: clarify comment regarding material colors 2015-03-27 22:19:02 -04:00
shadowislord
6252258c98 TechniqueDef: remove useless usesShaders variable 2015-03-27 21:55:32 -04:00
shadowislord
fa324cad8f Dome: fix crash when center = null 2015-03-27 21:49:59 -04:00
shadowislord
26f702cc91 GLTracer: add more no-enum methods 2015-03-27 21:49:33 -04:00
shadowislord
a3467def1e WeakRefCloneAssetCache: remove useless "synchronized" (the map is already thread-safe) 2015-03-27 21:48:24 -04:00
shadowislord
06408410cf CollisionResult: add hashCode() - required if we have equals() 2015-03-27 21:47:54 -04:00
shadowislord
305e56a921 ShaderNode: remove incorrect attribution 2015-03-27 21:47:21 -04:00
shadowislord
068047200e Threads: standardize names. Make sure they all start with "jME3". 2015-03-27 21:43:32 -04:00
shadowislord
a683fbb16c Texture: allow setting aniso = 0, since that's the default anyway 2015-03-27 21:39:27 -04:00
shadowislord
fdf050c13d J3MLoader: set texture name in addition to key when loading it 2015-03-27 21:38:56 -04:00
shadowislord
f0fbdffb85 BoundingSphere: remove useless null check 2015-03-27 21:38:14 -04:00
shadowislord
4f15fa3147 AnimChannel: remove useless println 2015-03-27 21:37:50 -04:00
shadowislord
400c09a633 jme3-core: fix minor issues pointed in static analysis 2015-03-27 21:33:29 -04:00
Kirill Vainer
1076b489ab GLRenderer: remove check FB error calls as it causes GPU stall 2015-03-26 17:03:04 -04:00
jmekaelthas
eb767e7580 Feature: added support for loading assets linked from external blender
files.
2015-03-23 20:09:45 +01:00
shadowislord
a157e83815 GLRenderer: always use glGenerateMipmap if we have FBO support 2015-03-18 23:21:25 -04:00
shadowislord
3a83ab4c69 GLRenderer: applied 080255f51860d6803b88c0c91206a0c6c42da5f4 to FrameBuffer textures as well 2015-03-18 23:19:43 -04:00
shadowislord
d6a19c4c66 Lighting.j3md: remove fixed function bindings 2015-03-18 23:16:48 -04:00
shadowislord
c0e85b3255 MaterialDebug: remove DesktopAssetManager dependency 2015-03-18 23:15:57 -04:00
shadowislord
784cfddb21 Filter: minor javadoc mistake 2015-03-18 23:14:01 -04:00
shadowislord
c34fcce7a2 MatParamTexture: remove useless constructor 2015-03-18 23:13:09 -04:00
shadowislord
6d7da0cc4e AssetManager: use right exception class if no loaders registered 2015-03-18 23:11:39 -04:00
Nehon
080255f518 Fixed issue #243 about TextureArrays 2015-03-18 22:30:07 +01:00
shadowislord
a2fc435167 SPLighting: fix issue #239 2015-03-09 22:22:55 -04:00
shadowislord
8466b25c6b ALAudioRenderer: fix issue #244 2015-03-09 22:20:54 -04:00
Nehon
7c5f994db8 Removed one assertion in AlAudioRenderer as it can't pass considering the current AudioNode implementation 2015-03-09 22:20:19 +01:00
Nehon
9e4f418427 Fixed an assertion error in BatchNode updating 2015-03-09 20:41:31 +01:00
David Bernard
a19246973c build: enable assertion for test and run (previously only test as assertionEnabled = true) 2015-03-06 10:47:04 +01:00
Nehon
40905061b5 Fixed an issue in TechniqueDef due to recent Geom and tesselation shader addition 2015-03-05 18:49:32 +01:00
Nehon
d6c6884066 Removed code duplication in BatchNode 2015-03-03 22:52:52 +01:00
Rémy Bouquet
46c00c95b3 Merge pull request #226 from jMonkeyEngine/pr/223
Obsolete shadowRecv and sceneReceivers code cleanup
2015-03-03 22:35:25 +01:00
Nehon
1616b08c5b Fixed issue when BatchNode's light list flag was not cleared 2015-03-03 22:11:17 +01:00
Rémy Bouquet
d74d5e6ca9 Merge pull request #154 from abies/master
Speedup for TangengBinormalGenerator
2015-03-03 21:48:37 +01:00
michael
b727d5998e Fixed the swapped bits for Control and Evaluation Shader 2015-03-03 12:34:25 +01:00
Bebul
8c37778749 Obsolete shadowRecv and sceneReceivers code cleanup 2015-03-03 08:46:10 +01:00