rem..om
147ff8796d
- Made the FilterPostProcessor cleanup delete framebuffers and textures form memory.
...
- Changed the way the filter porcessor handle the rendering of the filter; depth right is not disabled anymore when it sjouldn't alowing a filter to output depth with gl_FragDepth if needed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
f8c317f593
BloomFilter, applied James patch to make sure the filter is properly re initialized when de downsampling factor is changed.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10943 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
rem..om
306e88c678
Changed the way the reflection cam position and orientation were computed in the SimpleWaterProcessor to avoid some issues when the cam was parallel to the water plane. thanks to @sgold in this thread http://hub.jmonkeyengine.org/forum/topic/simplewater-with-horizontal-camera/
...
Also extracted the code in an utility class so that the WaterFilter can use the same routine without code duplication
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10899 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
11 years ago
PSp..om
6469c739c5
Fixed the DepthOfField effect to work with AA
...
enabled.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10864 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
8ffd1363b5
Fixed Fxaa, I broke it with change 10750
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10781 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
f3165b632f
Fix to water filter where there was a remaining "m_" in a paremeter set
...
Thanks to maximusgrey
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10780 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
b20905f08d
WaterFilter now use the built in global uniform ViewProjectionMatrixInverse instead of a custome material parameter
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10751 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
afa9376b26
- FilterPostProcessor no longer use a different camera to render the fulscreen quad. This greatly simplify the multiviewport filtering handling and global uniform matrix will now be usable in fliter's shaders, because it uses the same cam as the back buffer scene.
...
- Changed the post.vert and post15.vert to do a very basic projection to screen, saves a 16 float uniform and replace 4 matrices multiplication with 4 MAD operations per filter.
- Used ResolutionInverse instead of Resolution in FXAA to multiply instead of dividing once per pixel
- Same in CartoonEdge
- LightScattering now uses the standard post.vert and post15.vert
- Various cleanups in SSAO
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10750 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
b105f2c228
Made a ComposeFilter that allows one to compose post filtered outputs from multiple viewports
...
see http://jmonkeyengine.org/forum/topic/bloom-filter-for-multiple-nodes/#post-213016
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10592 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
c4fc9b723f
Shadows, SSAO and CartoonEdge now works with HardWareSkinning
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10580 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
198adb0753
Fixed NPE in water filter when setting the reflection mapsize before the filter has been initialized
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10560 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
e34d483973
Cleaned up SimpleWater uniform and varyings to not systematically use vec4 for no reason.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10536 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
761fe60388
Added missing getters for SimpleWaterProcessors
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10535 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..om
107b3f2b88
Modify normal map to use png instead of dds to enable running on Android
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
85b3e7e8c5
Made soft particles work with MS anti aliasing
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10508 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
c689ba4e9b
Fixed remaining black artifacts with post waters when using the 1.5 shader and also clamped refraction tex coordinates for under water in both shader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10503 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
3d76821f02
WaterFilter fixed refraction map artifact that was producing black "waves" on the screen borders.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
c591260ab5
WaterFilter : the size of the reflection map can now be changed at run time.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
7ba657e430
- set logging from Level.INFO to Level.FINE for most logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
0c403cfc9c
Changed the way the light is phased out for the LightScattering filter
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10260 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
5536f5f824
Also Fixed FXAA vertex shader projection calculation for glsl<1.5
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10140 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
34ab69cef9
Fixed post vertex shader projection calculation for glsl<1.5
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10139 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
609d51dbfd
Further fix and cleanup to SSAO for glsl < 1.5
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
21e5244c0a
Fixed ssao filter for opengl < 1.5
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
2a4a4ac0ef
Fixed an issue with FadeFiltter
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10029 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
064908c69f
LightScattering : smoother "vanishing" while lookking away from the light
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
5a22c0d9de
Water reflection/refraction cameras parallel projection is now explicitely set to false.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9974 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
fa841874c6
Add missing licenses in Core, Core-Effects, Core-Plugins, and Desktop code groups
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9840 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
01f1c8ff27
Replace NetBeans file templates with jME licenses
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
28ce76245f
Change all source licenses to say 2009-2012
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
751cb9e20a
Javadoc cleanup
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
0e733ff100
Filter postQueue method now takes a RenderQueue as parameter like SceneProcessor instead of the RenderManager and ViewPort.
...
Filters that were using those attributes now properly keep a reference on them in the filterInit method.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9777 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
e0df200dfd
Properly update the Height map and normal map to the water filter material when setting those textures to the filter
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9764 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
384f4ac1c2
Lighting and Shadows (PSSM only) :
...
- re introduced the alphaDiscardThreshold as explained in prvious commit. It's not binded to the AlphaTestFallOff fixedfunc binding
- Added a small poly offset to post shadow technique, this greatly help in fixing shadow acne.
- Added Poisson disc sampling PCF Filtering for shadows
- Properly passed the shadow map size as a define in the shaders and remove the hardcoded value
- Pssm15 don't use the textureSize function anymore and use the same shadow map size define ( this increased performance quite a bit)
- Optimized the shaders code a bit
- Better PSSM test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9750 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
c842eefb90
- add serialization to DepthOfFieldFilter (thanks to @rectalogic )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9679 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
28926b8383
WaterFilter can now have a square shape
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9553 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
68892dfee3
WaterFilter can now be constrained to an area in the scene based on a center and a radius. This allows to have several water areas in the same scene with different sets of parameters
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7825249952
* Made some classes pretty, hope you like it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
27e97c34da
* 'FixedFunc' technique were wiped out entirely. Not useful since now we choose default technique based on caps anyway.
...
^ Make sure to fix your materials by removing the 'FixedFunc' name from your fixed pipeline techniques! Or remove then entirely if the material doesn't support OpenGL1 ...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
55d75c5abc
* Shader now stores shader language in the ShaderSources instead of the Shader itself (everything makes a lot more sense now).
...
^ Make sure your shader languages are appropriate for each shader type (vert / frag) in your J3MS!
* Shaders no longer have the "usable" member and the renderers don't use it either (its useless)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
96e20aad8d
Javadoc fixes: Down from 260 to 221 warnings
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9347 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
2e704987b9
Fixed alpha variable declaration in SSAO Normal pass shader.Thanks to koris.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9341 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9d7d5a388c
Shadows/SSAO and transparency : Removed the AlphaDiscardThreshold from the frag shaders
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9334 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
22edb7beb0
Shadows/SSAO and transparency : Removed the AlphaDiscardThreshold attribute from the lighting material. Transparency discarding is now handled by the AlphaFallOff render state (as it should be).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9330 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
533fb86c50
Down to 260 Javadoc warnings from 324
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
5671358657
Soft particles implementation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9223 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
b0ada38d21
- move effects and networking to separate jar files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9190 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago