Kirill Vainer
86f6f040e3
Fix #550
8 years ago
Nehon
11562f88cf
Fixed shadow fade and zfar computation as it was breaking shadow border filtering.
8 years ago
Nehon
35de6d9fda
Fixed an issue where some occluders were wrongly culled out from the shadow map at very steep light angle, and when the view cam was almost align with light direction.
8 years ago
Paul Speed
ed817507d4
Improved the "compare result changed" error message to include the most
...
likely cause of the error.
8 years ago
TehLeo
7ed61854df
Update Caps.java
8 years ago
TehLeo
85f1e6ab46
Update GLRenderer.java
8 years ago
TehLeo
7693e785c2
Update Image.java
8 years ago
TehLeo
d90ee201da
Update GLImageFormats.java
8 years ago
TehLeo
af11f870f1
Update GL3.java
8 years ago
Nehon
78fa00bedf
Changed the minimum value of a float when converting it to half float. It was 5.96046E-8f and it's now 3.054738E-5f. This values seems to be the lowest one before 0 when converting back half to float.
...
This issue has been revealed in this post https://hub.jmonkeyengine.org/t/pbr-nan-to-half-conversion-errors/37219
The bad minimum was causing erratic data being wrote to the texture when the value was very close to 0, and causing the glitches and even crashes when color values were given as Float.Infinity or Float.NaN.
8 years ago
Nehon
bc86161831
fixed some javadoc in AbstractShadowRenderer
8 years ago
Nehon
17a853e3a8
Fixed post shadow filter for glsl1.5
8 years ago
Nehon
584b822eb7
Defaulted the render back faces shadows in the AbstractShadowRenderer to true to keep the same behavior as in 3.0
8 years ago
Nehon
ad6da79ad1
Fixed the link to the paper for convertHalfToFloat
8 years ago
Nehon
81830c4146
ShaderNodes now move all the declared extensions at the top of the generated shader source
8 years ago
Nehon
9cf67b902e
Fixed SpotLight constructor to properly compute the invSpotRange see https://github.com/jMonkeyEngine/jmonkeyengine/issues/563
8 years ago
Rémy Bouquet
be6d2765e3
Added a setLocalTranslation and setLocalScale to the Bone class. Similarly to setLocalRotation it only works when userControl is set to true and fails otherwise.
...
Also I changed how the value is set (with a set(...)) because it was assigning the passed parameter to the local instance of the transform.
8 years ago
Nehon
cd70630502
Changed the order of import of the PBR.glsllib in the PBR material as it enables the texture lod extension and this fails on some GPU when it's not at the beginning of the shader.
8 years ago
Nehon
cf6951af34
MikktSpace tangent generator now properly generates the BindPoseTangent buffer when necessary
8 years ago
Sebastian Weiß
2e58f2774c
#503 fixed
8 years ago
Nehon
f642e56517
Clean up in the PBR j3md file to remove warnings
8 years ago
Sebastian Weiß
97cac35105
Fix for #502
8 years ago
Ali-RS
8937e93cce
Minor fix in javadoc for Camera.java class
8 years ago
Kirill Vainer
86c2c7f341
minor cleanup in GLRenderer
8 years ago
javasabr
651c3cc29e
fixed missing Cloneable in the Triangle.
8 years ago
TehLeo
28281f7962
Fix for MTR Framebuffers
...
The problem: Happens with two MTR framebuffers with same number of color attachements.
If we set a frame buffer frame1, then later frame2.
r.setFrameBuffer(frame1);
r.setFrameBuffer(frame2);
Frame2 buffer will not output to multiple targets. Only its first target will be rendered.
This patch fixes that problem.
8 years ago
Ali-RS
bdd15b7f3e
fixed a typo
8 years ago
Sebastian Weiß
e8f76d43fe
implemented all changes regarding OpenCL (and some missing stuff)
8 years ago
Nehon
9665b985e4
Fixed wrong alpha handling in the pbr shader
8 years ago
Rémy Bouquet
2c388e489a
null check on the lightList in SinglePassAndImageBasedLightingLogic.makeCurrent. as it may be null when you preload
8 years ago
Rémy Bouquet
beb5033747
added GLSL compat to the pbr shader
8 years ago
Rémy Bouquet
5aa8af28cd
fixed Lod functions overload in GLSLCompat lib
8 years ago
Rémy Bouquet
85c119c132
Changed the way IBL is switched on and off in the PBR shader and in the technique def logic because the old way was causing some issues on mac... for some unknown reason.
...
Now it's toggled on and off with a define, but there might still be some issues on mac when there are several lighting passes.
8 years ago
Rémy Bouquet
8f701460aa
used enable instead of require for the textureCubeLod extension
8 years ago
Rémy Bouquet
aeb4daf04f
Fixed some issue with textureCubeLod in the PBR shader with early versions of glsl
8 years ago
Rémy Bouquet
662a0151e2
fixed glsl 1.0 version of the postShadowFilter shader
8 years ago
Rémy Bouquet
68c082c13d
fixed transparent shadows on mac.
8 years ago
Rémy Bouquet
7efbccfe4d
Changed the int value of EdgeFilteringMode.Nearest from 0 to 10 as it seems a define with a 0 value is now ignored.
8 years ago
Julien Gouesse
d0f0cfe5e7
Fixes a spelling mistake in the reflection allocator
8 years ago
Julien Gouesse
f820bbfd94
Fixes the reflection allocator with Java 9, tested with Java 9 Early Access build 129 and OpenJDK 1.8.0 update 101
8 years ago
Kai Boernert
b4c6febe4c
whitespace tab to 4spaces formating only change
...
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
8 years ago
Kai Boernert
846232063c
whitespace tab to 4spaces formating only change
...
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
8 years ago
Kai Boernert
810a4c3350
fix for wrongly marking as used, thanks to AlrikG for finding this
...
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
8 years ago
empirephoenix
85d62d44aa
Revert "jemalloc allocator and reflection allocator fix"
8 years ago
Alrik
dea6f6ab1c
- fix ReflectionAllocator use wrong buffer allocator to initialize
...
- add jemalloc allocator
9 years ago
tiatin
c9b5f9eb59
Added ability to set framebuffer image format used in FilterPostProcessor.
...
https://hub.jmonkeyengine.org/t/ability-to-change-image-format-for-filterpostprocessor/36379
9 years ago
Kai Boernert
4b5c945d80
Fix for travis
9 years ago
Kai Boernert
c71d87ed71
Extracted an Allocator interface for DirectByteBuffers
...
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
9 years ago
Kai Boernert
bc701c174b
Extracted an Allocator interface for DirectByteBuffers
...
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
9 years ago
Kai Boernert
848a9217d0
Extracted an Allocator interface for DirectByteBuffers
...
Signed-off-by: Kai Boernert <kai-boernert@visiongamestudios.de>
9 years ago