Kirill Vainer
4fef16ee9f
GLRenderer: fix incorrect gl3 check
...
Should check against caps; since gl3 is always
set on desktop regardless if GL3 is available or not.
Also add FBO blit support if we have GL3.
9 years ago
Kirill Vainer
cba39fa0ff
GLRenderer: make the class final
9 years ago
Kirill Vainer
aa54947ff3
GLRenderer: cleanup to shadow compare mode
...
Store compare mode in LastTextureState instead of on Texture object
9 years ago
Kirill Vainer
efe600c38d
GLRenderer: put max anisotropy into limits map
9 years ago
Kirill Vainer
d269839efb
FastMath: faster nearestPowerOfTwo and unit test
9 years ago
Julien Gouesse
9f56a45d56
Adds some options into AppSettings for JogAmp's JOGL and JOAL
9 years ago
Georg
495e0cf6d5
Fixed wrong BoundingBox transformation, when using negative scaling values
9 years ago
Kirill Vainer
500f57a64f
AssetManager: set locator path only once per thread
9 years ago
Kirill Vainer
aee7d1f195
GLSLCompat.glsllib: fix incorrect preprocessor define
9 years ago
Kirill Vainer
6970c8db8a
shapes: set static usage on all VBs
9 years ago
Kirill Vainer
78d2d6e944
GLRenderer: fix invalid enum error when using framebuffers
9 years ago
Kirill Vainer
f32d92ef30
bounding: add bound vs. spatial, also improve unit test
9 years ago
Kirill Vainer
81b5c48fb0
unit test: add unit tests for bounds and light filter / sort
9 years ago
Kirill Vainer
c41058a5a0
spot light: fix broken filter for infinite range
9 years ago
Kirill Vainer
22dde7f718
point light: more accurate sphere vs box filter
9 years ago
Kirill Vainer
6238088688
light: minor non-functional changes
9 years ago
Kirill Vainer
31383778d9
light: ensure directional lights are sorted to be always first
9 years ago
Kirill Vainer
1fa6c4ac11
bounding: move intersection algorithms to shared class
...
These algorithms are to be shared with the light filter.
9 years ago
Kirill Vainer
45f8893f13
bounding: properly implement collideWith against other bounds
9 years ago
Daniel Johansson
dd6356eff1
Reverted some more light code which should not be in this branch.
9 years ago
Daniel Johansson
88bf9d4580
Reverted some changes to light classes which was not meant to be committed as part of #314 .
9 years ago
Kirill Vainer
e9245a753b
GLTracer: generate syntax highlighting and easier to read output
9 years ago
Kirill Vainer
9da4b78830
GLRenderer: disable unused vertex attributes before rendering instead of after
9 years ago
Kirill Vainer
8fdc0f9c90
GLRenderer: avoid useless glActiveTexture calls
9 years ago
Kirill Vainer
f80364a8c2
GLRenderer: don't set depth function twice
9 years ago
Kirill Vainer
5845671409
GLRenderer: enable seamless cubemap globally
9 years ago
Kirill Vainer
edd183a2be
GLRenderer: fix texture update regression introduced in 9f3a145dd7
9 years ago
Kirill Vainer
148c78a943
GL: make lwjgl implementation classes final
9 years ago
Kirill Vainer
cb7d139488
GLSLCompat: support GLES compatibility
9 years ago
Kirill Vainer
616dadc498
Deprecate ColoredTextured.j3md
9 years ago
Daniel Johansson
e9e4b4a122
Improved audio renderer information log message to include more information and to print out in a format consistent with the GL renderer information.
9 years ago
Nehon
168e1755ff
Added some more constructors to SpotLight and PointLight, also added javadoc to all lights constructors.
9 years ago
Daniel Johansson
8f77dca931
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago
Daniel Johansson
89f10eca58
Added jme3-lwjgl3 module which ultimately adds support for LWJGL 3.x and GLFW.
9 years ago
Kirill Vainer
5a863c6075
Matrix4f: simpler fromFrame() without matrix multiplication
9 years ago
Kirill Vainer
57d560244e
Transform: implement equals and hashCode
9 years ago
Kirill Vainer
1575e2a1d3
minor changes according to static analyzer
9 years ago
Kirill Vainer
a855915358
Bone: remove useless loadIdentity()
9 years ago
Kirill Vainer
d32226db10
GLRenderer: use #version 100 for GLSL ES shaders
9 years ago
Nehon
b5c946ef02
Fixed LightProbe selection according to distance and bounds
9 years ago
Nehon
a35b499ee7
Big refactoring to how PBR is handled.
...
- Introduced a new Light type : LightProbes that are lights holding Image based Lighting information that are sent to the shader. For now, only the closest LightProbe from a geometry is sent to the shader. This will be enhanced later as it's obviously not the best way to handle this.
- Added a LightProbeFactory for easy creation and rendering of LightPorbes and associated maps. The maps generation process can also be monitored through a Listener class.
- Added various utility classses for debuging purpose.
- Added a new test case for environment with multiple LightProbes.
- Adapted the previous test case to the new system.
9 years ago
Nehon
7b7c6951ad
Fixed worldLightList sorting when a light is added to a node.
9 years ago
Kirill Vainer
b7ab6d003e
build: separate full version from full name
9 years ago
Kirill Vainer
17887b1fb0
build: new build version info system
...
* JmeVersion is no longer autogenerated, instead it pulls info from version.properties
* Added version.gradle script to generate version info and expose it to other gradle scripts
* Embed version info inside JAR manifest
* Refactor NDK finding to use the same way as the version generation
9 years ago
Nehon
d7b0292590
FilterPostProcessor now checks for ogl 3.2 capability to use multitsampled textures
9 years ago
Nehon
a730da35b4
FilterPostProcessor now checks for ogl 3.2 capability to use multitsampled textures
9 years ago
Nehon
fc0975c0cc
removed old implementation
9 years ago
Nehon
69f1677649
Moved PBR implementation
9 years ago
Nehon
a655acb8f0
BatchNode now preserves the lineWidth for Line meshes when batching.
9 years ago
Matt Benson
25ca07d3d2
light constructors
10 years ago