summaryrefslogtreecommitdiff
path: root/drivers/gles2/rasterizer_scene_gles2.cpp
AgeCommit message (Collapse)Author
2019-05-30Merge pull request #29236 from clayjohn/gles2-mirrorRémi Verschelde
Separate culling state management from material state in GLES2
2019-05-29Fix -Werror=maybe-uninitialized in GLES2 on release buildsRémi Verschelde
Issue introduced in #28796.
2019-05-27separate culling state management from materialclayjohn
2019-05-24Merge pull request #29132 from clayjohn/sort_depth_fixRémi Verschelde
Fix "no depth test" and render_priority sorting
2019-05-24Merge pull request #28796 from clayjohn/GLES2-optimizationRémi Verschelde
GLES2: Allow Viewports to render directly to screen
2019-05-23fix no depth test and render_priority sortingclayjohn
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-14Merge pull request #27898 from clayjohn/metallic_radianceRémi Verschelde
Added radiance when using clear color
2019-05-13Implement ability to render viewports directly to screenclayjohn
2019-05-13added radiance when using clear color and fixed brdfclayjohn
2019-05-13Merge pull request #28518 from clayjohn/GLES2-MSAARémi Verschelde
Added MSAA to GLES2 backend
2019-05-02added MSAA to GLES backendclayjohn
2019-04-29Fixed GLES2 transparency orderclayjohn
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-09Style: Apply new changes from clang-format 8.0Rémi Verschelde
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-06Add option to have viewport render into supplied textureBastiaan Olij
2019-04-05Merge pull request #27411 from KidRigger/raster_storeRémi Verschelde
Added GLES2 RenderStorage Info calculations.
2019-04-02Enable warnings=extra on clang and GCC testers.marxin
And remove 2 warnings from warnings=extra.
2019-03-25Added GLES2 RenderStorage Info calculations.Anish Bhobe
Proper counting code has been added to update info struct. Extra: Added the render_info_capture calculations. Fixes: #27273
2019-03-07Use glCopyTexSubImage2D instead of glCopyTexImage2D, should be safer and faster.Juan Linietsky
May be a solution to #26500
2019-03-03Properly redraw if something animated is visibleJuan Linietsky
2019-03-03Skeletons can now choose between using local or world coords for processing, ↵Juan Linietsky
fixes #26468
2019-03-01-Fix prepass state not being reset, closes #26348Juan Linietsky
-Send zero values for shader if no default exists
2019-03-01Strive for maximum compatibility in GLES2 regarding depth buffers.Juan Linietsky
2019-02-27Massive improvement to GLES2 performance, rewrote most ShaderGLES2 class.Juan Linietsky
This fixes #26337
2019-02-27Detect for 24 bits oes support on GLES2, closes #26344Juan Linietsky
2019-02-27Merge pull request #26134 from marxin/fix-Wsign-compareRémi Verschelde
Fix -Wsign-compare warnings.
2019-02-27Fix GCC 5 build after #26331 and cleanup styleRémi Verschelde
Also cleanup after 01a3dd3.
2019-02-27Fix -Wsign-compare warnings.marxin
I decided to modify code in a defensive way. Ideally functions like size() or length() should return an unsigned type.
2019-02-25Several fixes to make GLES2 on HTML5 work much better.Juan Linietsky
Changed math class error reporting to be a bit less paranoid.
2019-02-22-Support DEPTH_TEXTURE in GLES2, fixes #25106Juan Linietsky
-Fix use of transparent framebuffers in GLES2 -Fix use of ambient color clearing in GLES2 when no environment exists.
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-18Merge pull request #26005 from clayjohn/gles2_shadow_colorRémi Verschelde
Added shadow_color property to gles2
2019-02-17added shadow_color property to gles2clayjohn
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-02-12Support SCREEN_TEXTURE in GLES2, fixes #25405Juan Linietsky
2019-02-12Ability to vflip viewports in GLES2, fixes #24555Juan Linietsky
Also culling was reversed somehow.
2019-02-12Merge pull request #25623 from clayjohn/multimesh_color_bugRémi Verschelde
[GLES2] Initialize color buffer to white in gles2 multimesh
2019-02-12Merge pull request #25134 from staddy/masterJuan Linietsky
Check for null pointer in RasterizerSceneGLES2::render_shadow
2019-02-04initialize color buffer to white in gles2 multimeshclayjohn
2019-01-27Properly discard fragments during depth prepass opaque pass, fixes #23321Juan Linietsky
2019-01-25Fix depth prepass in GLES2, closes #23321Juan Linietsky
2019-01-24Fix crash with cube shadows in gles2, closes #22635Juan Linietsky
2019-01-22Do not use shadow cubemaps if depth write is not supported to avoid errors, ↵Juan Linietsky
closes #25219
2019-01-22Changes to GLES2 renderer to not use cube shadows if not available, fixes #25132Juan Linietsky
2019-01-22WebGL1 some changessantouits
glRenderBufferStorage doesn't accept the _DEPTH_COMPONENT24_OES so I changed it to GL_DEPTH_COMPONENT16 https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/renderbufferStorage https://www.khronos.org/registry/webgl/extensions/rejected/OES_depth24/ Enabled ext_shader_texture_lod extension. I guess it does the same like the GL_ARB_shader_texture_lod extension, but in WebGL1 https://www.khronos.org/registry/webgl/extensions/EXT_shader_texture_lod/ And last WebGL1 doesn't allow indexes not constant, so I changed it into a loop reading this: https://stackoverflow.com/questions/19529690/index-expression-must-be-constant-webgl-glsl-error
2019-01-19Check for null pointer in RasterizerSceneGLES2::render_shadowStanislav
Fixes #25131
2019-01-16Ensure texture hints are obeyed, fixes #24875Juan Linietsky
2019-01-07Fix background color rendering on GLES2 (linear should not be used)Juan Linietsky