Kirill Vainer
0dc77b4d6e
GLRenderer: remove commented out limits
2015-05-11 19:32:48 -04:00
Kirill Vainer
31fc1d9ac6
GLRenderer: fix srgb warning logging
...
Only complain about missing sRGB support if the user wants to enable it, not disable it.
2015-05-08 11:09:20 -04:00
Nehon
3f3ef99b86
Fixed an issue where AA was not taken into account when using SSAO filter
2015-05-08 11:18:27 +02:00
Kirill Vainer
554cfb8fab
GLRenderer: remove GL_APPLE_limited_npot
...
That extension doesn't indicate NPOT support, just limited support same as on the level OpenGL ES 2.0.
2015-05-07 11:10:32 -04:00
Kirill Vainer
f74ae990d4
Shadows: make sure to clear all buffers
2015-05-04 16:57:35 -04:00
Nehon
91cf9e645c
BatchNode safe catch of a crash when the batch node geoms don't have the same buffer types.
...
Added a utility method in GeometryBatchFactory to align the buffers of the subgraph.
2015-05-04 20:29:50 +02:00
Kirill Vainer
f8dd2542b1
AudioNode: disable reverb by default
2015-05-03 20:25:20 -04:00
Kirill Vainer
b5d8fc2505
AbstractBox: make mesh static by default
2015-05-03 20:24:52 -04:00
Kirill Vainer
7057f9a1b7
SkeletonControl: enable HW skinning by default
2015-05-03 20:22:45 -04:00
Kirill Vainer
0eb8cbfc6c
StatsView: fix darken effect due to earlier change
2015-05-03 16:07:50 -04:00
Kirill Vainer
b4baaadc79
JmeExporter: remove useless return
2015-05-03 15:59:32 -04:00
Kirill Vainer
17bf0f8ab3
SkeletonControl: fix #207
2015-05-03 15:52:31 -04:00
Kirill Vainer
6760771b20
SPLighting: vertex lighting fixes
...
- remove useless varyings
- fix alpha from diffuse color
2015-05-03 15:22:29 -04:00
Kirill Vainer
886bbc08b0
MipMapGenerator: perform scaling in sRGB
...
- Incorrect, but faster. In most cases where it is used, gamma correct pipeline isn't used and performance is of higher priority than quality.
2015-05-03 15:19:30 -04:00
Kirill Vainer
a43a405ca1
StatsView: render as single object
2015-05-03 15:01:03 -04:00
Kirill Vainer
ed61979825
GLRenderer: resize images to POT if needed
...
E.g. when using NPOT textures on iOS with mipmapping.
2015-05-02 15:57:10 -04:00
Kirill Vainer
4aa32cd016
MipMapGen: resize to nearest power of 2 in both dimensions
...
Before it was selecting the largest dimension, but OpenGL does not have such requirement.
2015-05-02 15:53:57 -04:00
Kirill Vainer
682b1f5b58
MipMapGenerator: add generator that uses raster
...
The one that uses AWT will be deprecated soon
2015-05-02 15:28:26 -04:00
Kirill Vainer
f2e0a15edb
AssetConfig: remove duplicates from Desktop.cfg
2015-05-02 15:26:16 -04:00
Kirill Vainer
02c997b165
Image: remove efficient state field
2015-05-02 15:25:07 -04:00
Kirill Vainer
e29988e30c
Image: fix cloning for last texture state
2015-05-02 15:24:22 -04:00
Kirill Vainer
1f0c83ae7d
ColorRGBA: getAsSrgb() to return ColorRGBA
2015-05-02 15:22:11 -04:00
Kirill Vainer
0a0fdca0b4
ImageRaster: add mipmap access & gamma correction
...
* Remove deprecated image raster methods from JmeSystem
* Allow ImageRaster to read / write to arbitrary mipmaps
* Allow ImageRaster to perform conversion to / from linear color space as required
2015-05-02 15:21:32 -04:00
Kirill Vainer
7393f79165
AudioSource: add method to get playback time
...
As was requested on the forum, getting playback time / position is needed to perform proper audio / video synchronization.
2015-04-29 23:58:34 -04:00
Kirill Vainer
ab7a45f66c
GLRenderer: forget an end parenthesis
2015-04-27 11:20:01 -04:00
Kirill Vainer
ba3e6917c6
GLRenderer: fix modern extension retrieval method
...
GL_NUM_EXTENSIONS and glGetStringi is only available in OpenGL3.0+. The gl3 != null check will always be true for LWJGL backend.
2015-04-27 11:00:33 -04:00
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
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
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