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
Kirill Vainer
0ade3a69d4
GLRenderer: FBO always available in OpenGL ES 2
10 years ago
Nehon
129faf00d7
Fixed warning when trying to find a srgb format for a Depth format.
10 years ago
Nehon
b0db53b5d6
Fixed warning when trying to find a srgb format for a Depth format.
10 years ago
Nehon
c7606ccff2
Fixed issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/291
10 years ago
Nehon
95d5fdf9c5
Fixed issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/252
...
This was due to a bug in the code where triangle data were stored after calculation.
10 years ago
Nehon
57dd2748e2
Tested if a joystick axis is not the nullAxis before assigning action to it.
10 years ago
Nehon
34220640aa
Fixed how model bound were refreshed in BathNode : issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/275
10 years ago
Nehon
6d1ab7af65
Redesign of the frag part of unshadedNodes so it's more modular, and can be properly used as GLSL 1.5 shader.
...
Added a stress test for unshadedNodes.
Changed the name of the texture parameter to textureMap in TextureFetch shaderNode as it was conflicting with the texture function used to fetch a texel from a a texture in glsl 1.5
10 years ago
Nehon
596954b056
Redesign of the frag part of unshadedNodes so it's more modular, and can be properly used as GLSL 1.5 shader.
...
Added a stress test for unshadedNodes.
Changed the name of the texture parameter to textureMap in TextureFetch shaderNode as it was conflicting with the texture function used to fetch a texel from a a texture in glsl 1.5
10 years ago
David Bernard
568ee09d17
add GLSL150 compatible Unshaded
10 years ago
David Bernard
704c3f1a10
enable MRT on gl3
10 years ago
Nehon
2b8898b7b2
Here is the rest of last commit
10 years ago
Nehon
dca050b96b
Added a protected modifier to getReceivers in Abstract shadow renderer
...
see issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/212
10 years ago
Nehon
6d3377a2a8
Fixed Parallax without normal map in lighting.j3md
10 years ago
Nehon
485af7cf2a
TextureFetch shader node now works with glgl1.5
10 years ago
Nehon
719a683c2c
Fixed Parallax for PBR lighting
10 years ago
David Bernard
fe72dd67dd
add TechniqueDef.noRender
10 years ago
Nehon
4342d97439
Fixed roughness fetch in the spec / gloss pipeline
...
See issue https://github.com/jMonkeyEngine/jmonkeyengine/issues/281
10 years ago
zzuegg
8d0c371796
Hopefully fixed
10 years ago
zzuegg
a8b3407b46
Removed empty lines
10 years ago
zzuegg
1e0468bdbe
Removed empty lines
10 years ago
zzuegg
8cb2be60fe
Added a switch to use VECTORS on GLES and COMPONENTS/4 on Desktop
10 years ago
zzuegg
4cd0c5bffb
Added MAX_VERTEX_UNIFORM_VECTORS constant
...
//untested however
10 years ago
zzuegg
43dc7345d0
Changed to VertexUniformVectors
10 years ago
Kirill Vainer
b8fe36ed76
glsllib with macros to convert glsl 1.1 shaders to 1.5
10 years ago
Riccardo Balbo
7fa735fdb1
Remove root slash from the asset path
10 years ago
Kirill Vainer
e2d8fe8293
GLRenderer: support luminance / alpha textures in core profile
10 years ago
zzuegg
14e4f2bfb3
Added: GL_MAX_VERTEX_UNIFORM_COMPONENTS
10 years ago
zzuegg
46e4c21c2c
Added: GL_MAX_VERTEX_UNIFORM_COMPONENTS
10 years ago
zzuegg
afc8f3f1cd
Fixed SpotLight default inititalisation for invSpotRange
10 years ago
Nehon
14c5304f27
Fixed defines tests in multisample.glsllib so that one can have a single sampled beck buffer and a multisampled depth buffer without having the shader to crash.
...
Also optimized the way glsl 150 texture vs texture2D is handled
10 years ago
Nehon
04f6b01d2e
Reverted commit 3f3ef99b86
...
as it was not valid and introducing another issue.
10 years ago
Kirill Vainer
5002413e51
GLRenderer: fix wrap / filter modes
...
* They were not configured properly due to an old workaround
10 years ago
Kirill Vainer
0dc77b4d6e
GLRenderer: remove commented out limits
10 years ago
Kirill Vainer
31fc1d9ac6
GLRenderer: fix srgb warning logging
...
Only complain about missing sRGB support if the user wants to enable it, not disable it.
10 years ago
Nehon
3f3ef99b86
Fixed an issue where AA was not taken into account when using SSAO filter
10 years ago
Kirill Vainer
554cfb8fab
GLRenderer: remove GL_APPLE_limited_npot
...
That extension doesn't indicate NPOT support, just limited support same as on the level OpenGL ES 2.0.
10 years ago
Nehon
7269ff8fd4
fixed CubeMapWrapper after the changes to DefaultImageRaster
10 years ago
Kirill Vainer
f74ae990d4
Shadows: make sure to clear all buffers
10 years ago
Nehon
91cf9e645c
BatchNode safe catch of a crash when the batch node geoms don't have the same buffer types.
...
Added a utility method in GeometryBatchFactory to align the buffers of the subgraph.
10 years ago