13 Commits

Author SHA1 Message Date
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
michael
5b58bda23f Merge branch 'master' of https://github.com/jMonkeyEngine/jmonkeyengine into GL4ShaderSupport
Conflicts:
	jme3-core/src/main/resources/com/jme3/asset/Desktop.cfg
2015-03-01 09:48:36 +01:00
shadowislord
f2cd1334ec jme3tools.converters: remove deprecated classes 2015-02-28 16:41:24 -05:00
michael
46a48f466d Added loaders to ShaderCheck 2015-02-23 20:27:08 +01:00
michael
0d3292c83a Refactoring of the shader system to allow addition of new shaderstages 2015-02-23 19:59:11 +01:00
shadowislord
8b300f5109 jME3 tools: delete triangle stripper 2015-02-21 15:43:26 -05:00
Nehon
53a40c887e Fixed shader error output. the shader source code was appended twice in the log. 2015-02-12 22:43:03 +01:00
shadowislord
c212fab37a Deprecate TechniqueDef.isUsingShaders(). Do not use it anywhere in the engine. 2015-02-01 17:26:59 -05:00
Nehon
d17bdb6485 BatchNode and GeometryBatchFactory now can handle normalized buffers.
Also added a check in BatchNode that was present in GeometryBatchFactory
2014-09-06 20:55:58 +02:00
shadowislord
ad7fdb6fab * Deprecate texture wrap modes not supported in OpenGL 3
* Make sure engine is not using them anywhere
2014-06-05 22:51:51 -04:00
Nehon
8ff6f8df24 Introduced a new Enum ColorSpace.
One can now mark a texture param in a material definition as linear by using -Linear at the end of the parameter declaration (case insensitive).
An Image bound to a material texture param in a linear color space will have its ColorSpace set to linear when bound to the material by mat.setTexture("name", texture);
Added the -LINEAR flag to all texture param that needed it in stock materials (lighting.j3md, terrainLighting.j3md, different Filter materials).
2014-05-26 12:11:57 +02: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
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00