6 Commits

Author SHA1 Message Date
rem..om
66ddbb654d Point light shadows first push. Working solution based on rendering 6 different shadow maps.
Made a PointlLightShadowRenderer and a PointLightShadowFilter.
- This will need a lot of refactoring as a lot of code is duplicated with the PSSMShadowRenderer
- Also i plan to change the Shadow map rendering to a cubemap instead of 6 separate textures.
Added a cornell box model and a test case


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 09:38:33 +00:00
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
2012-09-18 21:37:11 +00:00
Sha..rd
a5275875a7 * HoverTank blender model now references the correct textures (PNG -> JPG)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9735 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:18:35 +00:00
Sha..rd
a7bcb2b6e6 * Buggy model no longer has embedded lights
* Buggy model now uses J3M file by default 
 * Enabled specular for buggy - since specular color is set to black by default

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9734 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-15 20:07:42 +00:00
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
2012-04-29 20:32:08 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00