Nehon
0610f703d7
Fixed a crash in the PBR shader when adding a light map.
8 years ago
Nehon
12fe7ba035
Added a DetailedProfiler and its associated AppState for detailed time profiling
8 years ago
Nehon
6b33ae470a
Added a new step in AppProfiler for viewport processors and added method to pass the profiler to all processors.
8 years ago
Nehon
6a467ecb53
Added gpu profiling to Renderer and all the GL backends except ios
8 years ago
javasabr
ba4886da80
fixed saving spatial of motion event control.
8 years ago
Nehon
74858976eb
Fixed an issue where ParticleEmitter had NaN bounds during the first update when added to the scene graph during the update loop
8 years ago
Nehon
390d35180b
Soft particles now has only one shader and one technique to work with any glsl version
8 years ago
javasabr
87562bfbae
fixed NPE.
8 years ago
javasabr
c2219ecce5
removed the comment and returned a final modification to the method.
8 years ago
javasabr
f016469933
to prev
8 years ago
javasabr
6c3100f929
Added cloneable and jmeCloneable interfaces to shadows renders and filters
8 years ago
javasabr
1be4a48223
changed access to some methods of shadow render.
8 years ago
Nehon
f7181c38dc
Removed all xxx15.frag shaders and used GLSLCompat to have the same shader whatever version it's used for
8 years ago
Nehon
a64594eea9
Better cloning for TechniqueDefs
8 years ago
Nehon
51eccfea2e
Imported the glslCompat directly in multisample.glsllib to have it to work properly with glsl 1.5+
8 years ago
mitm001
756a7c2683
Update MotionEvent.java
...
Corrected minor spelling and class naming errors.
8 years ago
Nehon
b0ed053472
Fixed a cloning issue and some tests
8 years ago
Nehon
d537a1c22e
Added a GLSL150 to most of the shaders used in the engine (except deprecated ones).
...
All shaders now import the GLSLCompat.glsllib
8 years ago
Nehon
12a2f0f63c
One can now define several versions for the shader in a Technique in a J3md file, ie:
...
VertexShader GLSL150 GLSL110 : "path/to/shader/file.vert"
FragmentShader GLSL150 GLSL110 : "path/to/shader/file.frag"
Versions must be separated with spaces. They will be matched together when creating the technique so they have to follow the same order for different shaders.
8 years ago
Nehon
4777c591b1
GLSLLoader now moves all extensions declaration found in the dependencies at the top of the shader code
8 years ago
Nehon
f2709858bb
Got rid of the sorting for Technique selection
8 years ago
Nehon
cb04548fd5
Techniques are now weighted and sorted depending on their LightMode and GLSL version
8 years ago
Nehon
c713a06146
Fixed Backface Shadows param for PBRLighting
8 years ago
sgold@sonic.net
d4cd3f916d
fix errors in how vector projection is calculated
8 years ago
javasabr
a131d22518
reverted the name of the allocator filed.
8 years ago
javasabr
b442bcd9c1
removed unnecessary field.
8 years ago
Nehon
bf2369a50a
Fixed MikktSpaceTangentGenerator that was not replacing existing Tangent buffers on the mesh. That could cause crashes when the old tangent buffer did not have the same amount of components
8 years ago
javasabr
d468c20fba
implemented LWJGL3 BufferAllocator
8 years ago
mitm001
4a37ec467c
Update AbstractAppState.java
8 years ago
Paul Speed
d8875a7898
Convert Skeleton and Bone over to use the JME cloner system for cloning...
...
this should do automatic fix-up and hopefully make bones attachments work
properly again in clones.
8 years ago
Paul Speed
c7c239a56f
Modified BitmapTextPage to always deep clone its mesh since otherwise
...
BitmapText objects end up sharing them and that's bad.
8 years ago
Paul Speed
f81c14de7c
Another bitmap text clone fix. The text pages array (the list of the actual geometry of
...
the bitmap text) wasn't really being cloned... only the elements were. This meant that
that a cloned BitmapText object would continue to share the meshes from the original.
8 years ago
Paul Speed
dbb1f14471
Another fix for BitmapText cloning where the regular clone() was
...
completely bypassing the JME cloner framework... and making a bad
clone.
8 years ago
Paul Speed
440096441d
Fixed the cloned Letters to use the cloned StringBlock instead of the
...
original reference.
8 years ago
Paul Speed
9fda417a66
Fix for issue #577 StringBlock cannot be cloned with the cloner because
...
it is package private and the cloner cannot instantiate one directly.
Since it is extremely unlikely (read: impossible) that there would ever
be shared StringBlock references between BitmapText objects then it is safe
to just clone it directly.
It is important to note that BitmapText never really did support clone
before and only pretended to... so this wasn't really a regression.
8 years ago
Fadorico
3b829c7365
Write/read the width and height of the quad
8 years ago
Kirill Vainer
86f6f040e3
Fix #550
8 years ago
Kirill Vainer
a84c0eb25c
add 0/0.0 param case to material test
8 years ago
Kirill Vainer
68b34037f8
define 0/0.0 int/float values in shader
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
grizeldi
da3463405a
Added cleanup
8 years ago
Michael Braunstingl
67881b1e01
Two changes:
...
1. GL_DST_ALPHA and GL_ONE_MINUS_DST_ALPHA were moved from GL3 to GL.
2. I reverted to the previous switch/case statements in
GLRenderer.convertBlendFunc(BlendFunc).
8 years ago
Michael Braunstingl
ca17bd592a
Removed the switch/case statements in convertBlendFunc() by extending
...
the BlendFunc enumeration with a convenience integer value.
8 years ago
Michael Braunstingl
187e9944fd
Added the BlendFunc enums in RenderState and updated the GLRenderer
...
accordingly.
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