shadowislord
2aad768c8a
* Forgot to remove withSRGB from LwjglCanvas
11 years ago
shadowislord
cfcc86dd8b
* When creating display pixel format, do not use withSRGB as it could cause display creation to fail (when gamma correction is enabled). Based on online research, it seems that it is not necessary, and simply enabling SRGB writes on the main framebuffer is enough.
...
* Added additional checks when enabling SRGB writes to ensure the default framebuffer actually supports it, and print a warning if it doesn't.
11 years ago
shadowislord
52cd458601
* Added two missing 32-bit image formats to TestImageRaster: ARGB8 and BGRA8
11 years ago
shadowislord
406d244e01
* ToneMap.frag: Fix warning about gl_FragColor when compiling for GLSL 1.5 and higher
11 years ago
shadowislord
71472bbf90
Merge branch 'master' of github.com:jMonkeyEngine/jmonkeyengine
11 years ago
shadowislord
65d83b37f0
* Deprecated LTC and LATC texture formats, OpenGL3+ does not support them. Instead RGTC / BC5 must be used.
...
* Add missing license to InstancedGeometry.
* Minor cosmetic / doc changes.
11 years ago
normen
202267e398
Merge pull request #143 from davidB/fix_npe
...
SDK: fix NPE in JmeGeometry.propertyChange
11 years ago
David Bernard
2f248d15df
SDK: fix NPE in JmeGeometry.propertyChange
11 years ago
normen
16beac352f
Merge pull request #141 from davidB/wip_scenecomposer
...
.gitignore : simplify + ignore private
11 years ago
normen
99301d0aa6
Merge pull request #142 from davidB/wip_sdk_properties_control
...
SDK: fix JmeGenericControl to display initial value of Property and inhe...
11 years ago
David Bernard
95bbbefb6f
SDK: fix JmeGenericControl to display initial value of Property and inherited Property (grouped by class)
11 years ago
David Bernard
76088011a7
gitignore: ignore directory instead of files
11 years ago
David Bernard
aa7718f33a
gitignore: add explicit list of private files to ignore
11 years ago
David Bernard
3631493284
Revert ".gitignore : simplify + ignore private"
...
This reverts commit 0e5e58a1f8
.
11 years ago
David Bernard
0e5e58a1f8
.gitignore : simplify + ignore private
11 years ago
Normen Hansen
a6b24c91ea
SDK:
...
- fix recognition of boolean properties is/set pattern
11 years ago
shadowislord
1a1d74f83e
* More sanity checking when enabling sRGB pipeline, to ensure its actually supported before calling any sRGB related functions. Also provide more log messages if something is odd or goes wrong.
...
* Remove the sanity check from TextureUtil since it is now done once during initialization of the renderer.
* If LwjglRenderer.VALIDATE_SHADER is enabled, log shader compilation warnings as Level.WARNING instead of Level.FINE. Also slightly better grammar in shader compile / link messages.
11 years ago
shadowislord
ce761cd20b
Merge branch 'master' of github.com:jMonkeyEngine/jmonkeyengine
11 years ago
shadowislord
7d8c95f9c8
* Remove references to esoteric EXT_abgr and EXT_bgra extensions entirely, which might even be causing issues on some systems, instead replaced with standard OpenGL 1.2 constants
...
* ARGB8 and BGRA8 formats now support sRGB -> linear conversion if sRGB pipeline is used, previously they were ignored.
* All float and half float formats are considered supported if we either support OpenGL 3 or ARB float texture.
* Cleanup TextureUtil a bit by removing constant references from ARBHalfFloatPixel, ARBTextureFloat, EXTPackedFloat, EXTTextureSharedExponent and EXTTextureSRGB to GL21 and GL30 classes (which are identical anyway).
* Check if we support sRGB textures before choosing sRGB format (although this check should have been done earlier? not sure..)
11 years ago
shadowislord
60fa6a7e38
Merge pull request #128 from GreenCubes/patch-1
...
* Fix issue where using a texture array with pregenerated mipmaps would fail with a GL error.
11 years ago
shadowislord
bf9a30f8ba
Merge pull request #140 from phr00t/master
...
Ability to emit a certain number of particles
11 years ago
Phr00t
dd042344d8
reduced code duplication
11 years ago
Phr00t
0f76dc2cbd
Ability to emit a certain number of particles
11 years ago
shadowislord
465e2b2280
* Make sure to set texture max level depending on whether mipmaps are to be generated, included in texture, or not required at all - this reduces memory allocated by GPU for textures that do not use mipmaps.
11 years ago
shadowislord
68cb1e900f
Automatically upload GLSL 1.0 shaders as GLSL 1.1 if using desktop OpenGL to allow stricter error checking.
11 years ago
shadowislord
76147fc5f7
* Throw exception if the spot light computed cosine angle is not valid
11 years ago
shadowislord
7cdc473e14
* Fix broken generation of classpath for jMonkeyEngine3.jar
11 years ago
shadowislord
6680a1dec4
* FilterPostProcessor now crashes early if packed float texture isn't supported - since it is now required by all filters
11 years ago
shadowislord
0989d40256
* Ensure mipmapping is disabled for skies
11 years ago
shadowislord
99af4d9bd5
* Deprecate usage of TextureKey.setAsCube() and TextureKey.setAsTexture3D() - this is now handled by the TextureKey.setTextureTypeHint() method instead
11 years ago
shadowislord
f31911f039
* Fix java 8 syntax error in UdpEndpoint
11 years ago
shadowislord
510e9137d8
* Disable doclint if building on Java 8 to avoid failed build
11 years ago
shadowislord
6b12d5c638
* Fix many javadoc errors mostly related to incorrect HTML or missing references
11 years ago
shadowislord
81498d6f79
* Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations.
11 years ago
shadowislord
d694229335
* Make tone-mapping white-point adjustment logarithmic in the sample to have less sudden exposure transitions
11 years ago
shadowislord
c01cbdd5e0
* Add option to toggle instancing either on or off to see the difference (if any)
11 years ago
shadowislord
35cfae5ef0
* Merge revision 11058 from experimental branch
...
- Add instanced geometry support. This is performed by uploading 4 vertex buffers each containing 4 floats. The top 3 rows are the world matrix and the bottom row is a quaternion representing the normal matrix. Hence, both unshaded and lit geometries can be rendered through instancing.
See Instancing.glsllib for more information as well as the comment in LwjglRenderer.
11 years ago
shadowislord
6aeb694b71
* Merge revision 11060 from experimental branch
...
- Throw exception if user is attempting to share materials between hardware skinned models
11 years ago
shadowislord
3838216207
* Added tone mapping filter that does not rely on average luminance (unlike HDRProcessor).
11 years ago
shadowislord
97ff9c2949
* Allow MultiSample.glsllib to be used on GLSL shaders versions 1.00 - 1.40 (otherwise a syntax error occurs)
11 years ago
jmekaelthas
939a0b03ca
Bugfix: fixed a bug that caused importer to fail when mesh had armature
...
modifier and no vertex groups nor bone envelopes defined.
11 years ago
Nehon
c09a4b208d
Fixed ColorRGBA javadoc, made the clamp method use FastMath.clamp, integrated @kwando's pull request 131
11 years ago
Nehon
95f215c180
Adjusted TestPostWater to gamma correction
11 years ago
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.
11 years ago
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.
11 years ago
Nehon
9f45f78c86
Fixed GammaCorrectionFilter path to j3md and frag files
11 years ago
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