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.
11 years ago
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).
11 years ago
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
11 years ago
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
11 years ago
Rena4ka
4be7693f1b
Mipmapped texture arrays
...
Fixed TextureUtil to properly handle mipmapped texture 2d arrays and 3d textures
11 years ago
Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
rem..om
e69d237b51
Committed a patch for ARGB8 and BGRA8 support
...
http://hub.jmonkeyengine.org/forum/topic/support-for-argb8-and-bgra8-textures/#260706
Also made the change for Jogl TextureUtil as it was missing from the patch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11085 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
fd8a69707b
Added a comment setupTextureParams in LwjglRenderer about the switch with missing breaks
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
54ab14e5ae
Merged commits r11015 to gradle restructure branch.
...
Made similar cleanup in other renderer implementations
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11020 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
e65d6ea44b
Merged commits r11009 to r11012 to gradle restructure branch.
...
Moved the workaround for GLSL100 into the renderers instead of having it when selecting a technique
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@11019 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
nor..67
511d045274
gradle:
...
import current build script to gradle-restructure
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10968 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
PSp..om
ed77d40c63
First pass at copying the source files with history into the
...
new gradle-based structure.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/branches/gradle-restructure@10964 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago