- Looks like Poly offset behave defferently between ATI and NVIDIA i added a bit of offset to avoid shadow acne for NVIDIA
- Added a flag needCompareModeUpdate in the Texture class to avoid setting it on every frame in the renderer. I changed Lwjgl and Jogl renderer accordingly.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
joysticks that properly report their name. It's
a simple system using properties files on the
classpath. A core file has been added with at
least one known remapping.
Buttons and axes can be renamed but they can't
yet be flipped. If needed that can be added
later.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9774 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
- Made the relvent changes in lwjgl1Renderer
- Changed the check in the lwjglRenderer (note that it's deprecated in opengl 3)
- Removed the test in the OglESRenderer since GL_ALPHA_TEST/GL_ALPHA_FUNC no longer exists in OGLES 2, this must be handled in the fragment shader aka the alphaDiscardThreshold that is coming back in an upcoming commit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9747 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* Fixes to Alpha16, Luminance16, Luminance16F, Luminance32F, Luminance16Alpha16, Luminance16FAlpha16F, RGB16, RGB16F_to_RGB111110F, RGBA16 image formats.
* Added support for ARGB4444 format on destop
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
^ 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
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").
NOTE: Supported formats are "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* Now uses only OpenGL2 draw buffers instead of relying on GL_ARB_draw_buffers existing
* copyFrameBuffer() was non-functional when used against the main framebuffer because the width/height were set to zero erroneously, now it uses the current viewport parameters.
* Added TestRenderToCubemap to demonstrate render to cubemap functionality, it also uses MRT to render to all the cube sides
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9378 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* Renderer now uses getArray() to access mesh's buffers
* GL image format data now stored in a special data structure for easier management (instead of huge switch/case statement)
* Android texture loading: If the format is not supported by GLES spec, the texture upload will fail
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
* Allow use of negative program IDs in LwjglRenderer (will continue instead of crashing for "Invalid ID received from driver" errors)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9116 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
- 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@8838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca