summaryrefslogtreecommitdiff
path: root/drivers/gles2/rasterizer_scene_gles2.cpp
AgeCommit message (Collapse)Author
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
2019-01-01Update copyright statements to 2019Rémi Verschelde
Happy new year to the wonderful Godot community!
2018-12-15Adding option to re-orient our skyBastiaan Olij
2018-12-11gles2 implemented VIEWPORT_SIZE builtin for spatial shadermuiroc
2018-11-28Merge pull request #23981 from khairul169/fix_gles2_clearcolorRémi Verschelde
GLES2: Set clear color based on env background mode when rendering scene and fix viewport transparent bg flag
2018-11-28Added luminance capping to avoid glitches on small dots. closes #17996Juan Linietsky
2018-11-27GLES2: clear color on scene renderkhairul169
2018-11-17Removed unnecessary assignmentsWilson E. Alvarez
2018-11-16Ensure environment radiance is not used on refprobe interiors, fixes #17868Juan Linietsky
2018-11-16Removed unnecesary normal multiplication (only culling was really needed), ↵Juan Linietsky
fixes #17776
2018-11-14Merge pull request #23248 from dlasalle/fogJuan Linietsky
Add parameters for fog end depth and use alpha as density.
2018-11-13Add parameter for fog max depth and use alpha as density.Dominique LaSalle
2018-11-02Cleaning up some uninitialised variables in GLES2 stuff.Ibrahn Sahir
Initialise keep_original_textures and use_fast_texture_filter in storage config. Removed any other variables from storage config that were both unused and uninitialised to avoid future confusion (if they're needed it's easier to spot an uninitialised variable problem in a PR that adds the variable again rather than just uses it). Copied storage Texture struct constructor from GLES3 implementation (except where variables were already initialised with different values). Gives us sensible tested defaults for previously uninitialised vars. Added assignments for state.current_main_tex based on same in GLES3.
2018-10-25Merge pull request #22779 from Superwaitsum/LimitSettingsRémi Verschelde
Limit several project settings
2018-10-24Add some limits on the Editor SettingsSuperwaitsum
2018-10-21Fixed stereoscopic (VR) sky in GLES2Bastiaan Olij
2018-10-02vertex lit optimization for fog.Juan Linietsky
2018-10-02Implemented FOG support in GLES2.Juan Linietsky
2018-10-02Many more fixes for GLES2 mobile export. Also added ability to turn on ↵Juan Linietsky
OpenGL debugging on Android export.
2018-09-29Some more GLES2 tuning..Juan Linietsky
2018-09-29Many more GLES2 fixesJuan Linietsky