Nehon
200c875ba2
Used R11G11B10F instead of RGB10_A2 for framebuffer format in Filters and R11G11B10F instead of RGBA for the back buffer in the FilterPostProcessor.
2014-05-26 12:19:20 +02:00
Nehon
0c469e605b
ColorRGBA now has a setAsSrgb that convert the passed sRGB values to linear space and store them in the ColorRGBA, it has also a getAsSrgb method that returns the SRGB value of the color in a Vector4f.
2014-05-26 12:18:13 +02:00
Nehon
09e705dcc4
Introduced RGB10_A2 Image Format. It offers greater precision for RGB channels at the expense of precision for the alpha channel. This format is convenient for post processing, and especially when gamma correction is turned on.
2014-05-26 12:16:15 +02: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
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
Nehon
a23038430c
- Added an AppSetting param for gamma correction, defaulted to true.
...
- Added a filed in the Setting dialog to toggle gamma correction on and off
2014-05-26 12:11:55 +02:00
sgold@sonic.net
98ffe52c77
correct core comments and standardize line endings as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-com-jme3-mathrendererpost/
2014-05-25 08:54:49 -07:00
sgold@sonic.net
4a69eee64f
corrections to com.jme3.scene.* comments as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-com-jme3-scene/
2014-05-16 07:58:15 -07:00
sgold@sonic.net
5b8dfbc27c
typos in Spatial.java comments as discussed at http://hub.jmonkeyengine.org/forum/topic/typos-in-spatial-java-comments/
2014-05-13 10:22:53 -07:00
Nehon
5f48fa34bd
Made a MaterialDebugAppState that allows hot reload of materials at runtime. Pretty convenient for shader development and debugging
2014-05-11 15:25:38 +02:00
Nehon
3a5aae5383
Fixed typo in previous commit's javadoc
2014-05-03 15:05:56 +02:00
Nehon
375079bfcf
The shaderNodesGenerator now properly declare and assign inPosition :
...
inPosition can be a vec4 or Vec3 and will be assign to Global.position accordingly
2014-05-03 15:03:30 +02:00
Nehon
e898f26cf4
The ShaderNodes system now correctly handles swizzle of types like ivecn, uvecn, bvecn
2014-05-03 13:49:05 +02:00
Rémy Bouquet
d5f6058e85
Merge pull request #129 from Rena4ka/master
...
Fixed constantly mipmap generation
2014-05-01 11:16:46 +02:00
Normen Hansen
539c2e65fc
- update JmeVersion automatically in build script
...
- change handling of version "tag" (stable, svn etc.)
2014-04-25 17:03:59 +02:00
Rena4ka
e250c47a08
Fixed constantly mipmap generation
...
Fixed bug when setting MinFilter with mipmapping after generating mipmaps causes jME to update image data every frame.
2014-04-22 03:55:57 -07:00
Nehon
dbae186426
Fixed issue in MotionPath where having a path with only 2 waypoints with the same coordinates was causing an IndexArrayOutOfBound exception.
...
Also used a temp var for a Vec2 that was instanciated on each frame
2014-04-06 11:26:33 +02:00
Nehon
ad99467cf2
Fixed issue where onAnimCycleDone was not called when playing an animation
2014-04-02 20:34:54 +02:00
Stephen
05c171e07e
fix the fix for issue #635 as discussed at http://hub.jmonkeyengine.org/forum/topic/proposed-fix-for-issue-635/page/2 and
...
http://hub.jmonkeyengine.org/forum/topic/wirebox-error
2014-03-23 13:34:49 -07:00
Normen Hansen
a16857c8f4
switch to gradle layout
2014-03-21 02:32:11 +01:00