sha..rd
6c12808493
* Another ATI driver hack, now for framebuffers. Based on http://www.opengl.org/wiki/Common_Mistakes#Automatic_mipmap_generation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7877 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
88257bbb3e
* Removed glTexEnv(GL_COORD_REPLACE, ...) call because it is not needed when using shader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7876 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
d48b06c951
* Enable point sprite mode only for first texture unit. May prevent ATI driver crashes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7875 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
8c69c7d205
* Shader now has accelerated access to attribute by using IntMap
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7671 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
93d968a12b
- fix compile error in renderer (vb.getBufferType().name())
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7669 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
c727d3e006
* Fixed crash in TestCinematic
...
* Fixed crash in LightList.sort()
* Removed usage of Arrays.copyOf() in BitmapFont, so Android can run it
* Formatted OGLESShaderRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
f9079171f1
* Optimization to prevent allocation of IntMap$Iterator in Renderer.renderMesh()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7661 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
978ee32a96
WateFilter depth write fix (yeah 'fix' Kirill). Issue was glClear(GL_DEPTH_BUFFER_BIT) seems to not work when glDepthMask is false
...
see http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=257223
Also there might be the same issue when copying frame buffers
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7628 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
a8533e5378
* Fixed crash in TestDepthOfField
...
* Moved Remy's render state hack to filter processor where it belongs
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7603 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
dce2dd2eb1
* Deleted StencilFunction and replaced it with TestFunction (in case it will be used in more than one place)
...
* RenderContext.reset() now properly resets stencil render state.
* Added full javadoc to RenderState
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7581 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
2d4896942d
TranslucentBucket :
...
- Added a translucent bucket that is rendered after the processors (usefull for shadows)
- For filters, rendering this bucket is a bit particular, so you can use the TranslucentBucketFilter to render the translucent bucket in the middle of the fillter stack (doc is comming up in the wiki)
- renamed Filter's preRender method to postQueue for consistancy with processors
- added translucent objects in TestPostWater, added a fire (particles) in test transparent shadows
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
8406f0058e
Kirill: Better fix for mac issue
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7448 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
8ace54916f
Kirill: Fixed Mac issue where canvas wouldn't render anything when framebuffers were used
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Sha..om
8b2b999bd0
* Added proper check for framebuffer textures when doing NPOT scaling.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7441 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
b5a8080f61
* Added checking for image format
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7376 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
0d0454f248
* Canvas is now using pbuffer workaround, allowing renderer to acquire renderer capabilities even if the canvas is not visible yet.
...
* Handling of context destruction is now handled individually for displays and canvases.
For canvas, this allows it to destroy the pbuffer in addition to the display.
* VertexBuffer now has better detection for data size changes, might prevent GL errors in certain cases. NOTE: VertexBuffer.updateData() is generally more stable than VertexBuffer.setUpdateNeeded(). Refrain from using setUpdateNeeded() .. its an internal call anyway. Using it directly could cause GL errors.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7374 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
4ff31a6fab
* Changed depth function back to GL_LEQUAL
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7293 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
jos..om
9cc223c507
RenderState support for two sided Stencil Buffer operations (in order to support Shadow Volumes in the future)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7286 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
ed7789b7a6
* The OpenGL2 renderer now actually scales non-power-of-2 textures instead of throwing out a useless warning
...
* Nifty GUI now supports the rescaling of textures by storing the resolution beforehand
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7281 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
7d6167c0dc
* Added Renderer.invalidateState() to reset the render context
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7280 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
8019ba2a53
* LwjglRenderer will throw an exception when attempting to set null shader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7279 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
d729da9e78
* @SuppressWarnings("fallthrough") to prevent warnings
...
* Fixed rest of the warnings
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
7c7afb677f
* Add check for GL_ARB_texture_multisample before setting up the texture to see if its supported
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
90bf137894
* Added new renderer capability: NonPowerOfTwoTextures
...
* LwjglRenderer will show warnings when NPOT textures are used and the graphics card doesn't support them
* LwjglGL1Renderer will scale textures to POT sizes if NPOT is not supported
* Enable simple logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
656783476e
* Attempt to fix ATI native crash with particles
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
9e53abbb7a
move jme3 to trunk
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago