11 Commits

Author SHA1 Message Date
Nehon
8f129ec727 Added a test case for KTX loading 2015-03-25 23:29:55 +01:00
shadowislord
a676c51a50 * Test the RGB565 format in TestImageRaster (since it is supported on all platforms) 2015-01-23 22:44:38 -05:00
shadowislord
fb6fb73239 * Fix incorrect class name in TestTextureArrayCompressed 2015-01-23 22:31:16 -05:00
AlrikG
799d8d9ef2 - add test case for compressed dds array textures 2015-01-24 00:32:03 +01:00
shadowislord
62cfbc8a3e Remove usage of all deprecated image formats 2014-11-09 11:50:57 -05:00
shadowislord
2e796444a5 * Enable mipmapping in TestTextureArray 2014-06-06 23:20:24 -04:00
shadowislord
52cd458601 * Added two missing 32-bit image formats to TestImageRaster: ARGB8 and BGRA8 2014-06-03 23:10:49 -04:00
shadowislord
99af4d9bd5 * Deprecate usage of TextureKey.setAsCube() and TextureKey.setAsTexture3D() - this is now handled by the TextureKey.setTextureTypeHint() method instead 2014-05-31 18:39:44 -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