Commit Graph

23 Commits (18b9ef55403c63db6691c4e60b55697a56b32f1d)

Author SHA1 Message Date
shadowislord 22ab7c11c7 * Ensure cubemaps have square dimensions before uploading 11 years ago
shadowislord 7860ccca52 * Use mipmap minification modes only if mipmaps are actually available 11 years ago
shadowislord 4d7dcc17bb * Don't depend on ContextCapabilities for determining OGL / GLSL versions 11 years ago
shadowislord e225e6ff89 * Move certain render context specific fields from Renderer into RenderContext 11 years ago
pspeed42 5a482e2b98 Added another Photoshop tyle blend mode: Exclusion 11 years ago
pspeed42 e76e770d17 Modified the multi-slot buffer support to work even 11 years ago
pspeed42 216f874175 Added support for instancing at the mesh level. 11 years ago
pspeed42 7ca599dfd9 More tabs to spaces. 11 years ago
Hannes Nevalainen ccb946e65d Add Screen blend mode. 11 years ago
shadowislord 03f8df05b6 LwjglRenderer - Preparing for abstraction layer shift 11 years ago
shadowislord 65094e9ca1 * Put the shader compile log on the next line so its slightly more readable 11 years ago
shadowislord ad7fdb6fab * Deprecate texture wrap modes not supported in OpenGL 3 11 years ago
shadowislord c925104f5e * Ensure the statistics properly represent number of objects / triangles / vertices rendered when using instancing 11 years ago
shadowislord 2aad768c8a * Forgot to remove withSRGB from LwjglCanvas 11 years ago
shadowislord cfcc86dd8b * When creating display pixel format, do not use withSRGB as it could cause display creation to fail (when gamma correction is enabled). Based on online research, it seems that it is not necessary, and simply enabling SRGB writes on the main framebuffer is enough. 11 years ago
shadowislord 1a1d74f83e * More sanity checking when enabling sRGB pipeline, to ensure its actually supported before calling any sRGB related functions. Also provide more log messages if something is odd or goes wrong. 11 years ago
shadowislord 465e2b2280 * Make sure to set texture max level depending on whether mipmaps are to be generated, included in texture, or not required at all - this reduces memory allocated by GPU for textures that do not use mipmaps. 11 years ago
shadowislord 68cb1e900f Automatically upload GLSL 1.0 shaders as GLSL 1.1 if using desktop OpenGL to allow stricter error checking. 11 years ago
shadowislord 81498d6f79 * Introduce Image.isNPOT() which is now used to check if the image is non-power-of-2 in renderer implementations. 11 years ago
shadowislord 35cfae5ef0 * Merge revision 11058 from experimental branch 11 years ago
Nehon e4ba4e9e9e - Image loaders now assume ALL images are in sRGB space and set the flag accordingly 11 years ago
Nehon 77a4002c3d Added support for hardware srgb output (gamma correction). 11 years ago
Normen Hansen a16857c8f4 switch to gradle layout 11 years ago
rem..om 1ef4c21391 Added a comment setupTextureParams in LwjglRenderer about the switch with missing breaks 11 years ago
rem..om 5d02fe1c20 Made trunk sync with commit r11019 and commit r11020 11 years ago
dan..om fc8be06297 - Reverted the addition of the break; statement. 11 years ago
dan..om 687eb0ff19 - Removed SafeArray usage as it wasn't used. 11 years ago
PSp..om faf04cbb1f Keep better track of the independent alpha test related 11 years ago
rem..om f8be6cf686 One can now change the depth test function throught the additional renderstate of a material. 12 years ago
sha..RD d6fbd97482 * Add NativeObject.dispose() which deletes the object from GL driver, and if UNSAFE=true, also native buffers. 12 years ago
ShA..Rd 1aa0f9d7bd * LwjglRenderer adds capability for texture array support if OpenGL 3 is available 12 years ago
sha..RD 27bf244729 * Added glGetError() checks after every GL call (its ugly, I know, but it helps with debugging). Added option to disable it with constant on RendererUtil.ENABLE_ERROR_CHECKING. 12 years ago
rem..om 05e080100e Added support for int arrays uniforms. thanks to abies. 12 years ago
voi..om 23c1fddf8f Added support to upload/modify sub texture to Renderer interface introducing a new method: 12 years ago
nor..67 7ba657e430 - set logging from Level.INFO to Level.FINE for most logging 12 years ago
rem..om 01bf1ca843 Fixed 2 issues with shadows : 12 years ago
Sha..rd 9e03dba566 * Add checks for maximum texture resolution in all renderers 13 years ago
sky..ok 751cb9e20a Javadoc cleanup 13 years ago
rem..om 5111fd8b66 Implemented fixedfunc binding for AlphaTestFallOff 13 years ago
Sha..rd ac0f3a107c * Fix issue where setting texture on renderer with no mipmaps and then setting the same texture with mipmaps would prevent them from being generated (fixed for desktop GL1/GL2 and android) 13 years ago
rem..om ce124e7729 Renderer : Fix to copy framebuffer to exclude the upper bound if the rectangle as specified in opengl specs. Thanks @rectalogic 13 years ago
rem..om 4f848ab5b5 Renderer : Caps.Multisample is now correctly added to the renderer caps when GL_ARB_multisample is present in ogl caps 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). 13 years ago
Sha..rd ca3f1d941a * Fix issue 505 13 years ago
nor..67 ea0be5cf9f - fix imports across engine 13 years ago
Sha..rd 1ef93999a3 * Fix issue 391 13 years ago
Sha..rd cac820803b * Better checking for MRT in renderer (first against max color attachments then against draw buffers) 13 years ago
rem..om 311242b6d9 - Framebuffer can now render to a cube map face, thanks to dflemstr 13 years ago
Sha..rd f68475319a * Added new image format: Depth24Stencil8, for framebuffers and textures that need stencil data 13 years ago
rem..om 544e1f6342 Shaders : The line numbers on error now correctly takes the version line added to the shader into account 13 years ago