20 Commits

Author SHA1 Message Date
Kirill Vainer
054e4dc00f JMException does not exist on Android 2017-09-09 13:59:09 -04:00
NemesisMate
edd9a78291 Added alpha blending option to terrain lightings to allow alpha stencil textures. (#689)
Updated Terrain materials to allow diffuse textures with alpha
2017-07-23 14:10:33 +02:00
empirephoenix
78a3e2408e Merge pull request #622 from JavaSaBr/fix_memory_cost_on_terrain_changes
added reusing position buffer on heightmap changing.
2017-03-02 10:08:11 +01:00
Rémy Bouquet
df765322dc Fixed warnings in Terrain shader.
Fixed the use of the first diffuse map
Fixed the camera positioning in the TestSpotLightTerrain
2017-02-26 09:25:23 +01:00
javasabr
444588a363 added reusing position buffer on heightmap changing. 2017-02-18 18:48:42 +03:00
Kirill Vainer
37f8ee91af more deprecation cleanup 2016-04-10 12:04:20 -04:00
Kirill Vainer
f4e948d7bd remove deprecated classes 2016-04-10 11:53:06 -04:00
Kirill Vainer
a563c6cc7b remove deprecated classes 2016-04-10 11:46:18 -04:00
Paul Speed
ab6fb03171 Converted spatial over to use Cloner to do its various
deep and semi-shallow cloning.  I'd be very surprised if nothing
is broken as there is only so much testing I can easily do.
Also various fixes for places I forgot to call super.cloneFields().
2016-03-27 06:14:52 -04:00
Paul Speed
7b29c58fe0 JmeCloneable related changes to TerrainQuad and TerrainPatch. Fixed
something I missed in NormalRecalcControl.
2016-03-26 05:29:22 -04:00
Paul Speed
8b1ddbe60f First round of getting JmeCloneable implemented... added
support for Cloner to the controls that implemented cloneForSpatial().
Unused until spatial cloning is implemented.
2016-03-20 02:47:16 -04:00
Paul Speed
2b81011668 Adding @Override to cloneForSpatial() methods in terrain lib. 2016-03-11 05:38:32 -05:00
shadowislord
068047200e Threads: standardize names. Make sure they all start with "jME3". 2015-03-27 21:43:32 -04:00
shadowislord
621f6de083 Terrain GLSL shader: fix incorrect glsllib import
- (PhongLighting -> BlinnPhongLighting)
2015-02-22 16:51:50 -05:00
shadowislord
4797628d7b * Remove GL1 technique from TerrainLighting.j3md 2015-01-23 22:44:10 -05:00
Nehon
c55717141e Single pass lighting implementation.
Along with some light shaders refactoring and clean up
2014-11-04 20:09:14 +01:00
shadowislord
6b12d5c638 * Fix many javadoc errors mostly related to incorrect HTML or missing references 2014-05-31 13:12:46 -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
sploreg
7df0b41585 TerrainLodControl no longer caches camera positions. Issue #121 2014-04-02 14:49:29 -07:00
Normen Hansen
a16857c8f4 switch to gradle layout 2014-03-21 02:32:11 +01:00