summaryrefslogtreecommitdiff
path: root/drivers/gles3
AgeCommit message (Collapse)Author
2023-01-29Merge pull request #72291 from clayjohn/GL-item-capRémi Verschelde
Remove cap on number of items drawn in frame in 2D gl_compatibility renderer
2023-01-28Remove cap on number of items drawn in frame in 2D gl_compatibility renderclayjohn
Also clean up some names to make the overall organization more clear Also remove cap on items per batch
2023-01-27Automatically transform Skeleton2D calculations so pivots are not neededclayjohn
2023-01-26Merge pull request #71581 from clayjohn/dependency-changedRémi Verschelde
Flag dirty dependencies when GeometryInstance dependencies change in renderer
2023-01-26Merge pull request #72138 from clayjohn/GL-globalsRémi Verschelde
Properly append global uniform buffer name in gl_compatibility shaders
2023-01-26Properly append global uniform buffer name in gl_compatibility shadersclayjohn
Also error when using instance uniforms
2023-01-26Fix LCD font AA on OpenGL renderer.bruvzg
2023-01-26Merge pull request #71455 from BastiaanOlij/fix_stereo_screen_depthRémi Verschelde
Make screen texture and depth texture work in Multiview
2023-01-25Make screen texture and depth texture work in MultiviewBastiaan Olij
2023-01-24Merge pull request #71832 from Geometror/fix-spotlight-artifactsRémi Verschelde
Fix some `SpotLight3D` issues (clustering artifacts, leaking light, AABB)
2023-01-24Fix some SpotLight3D issues (clustering artifacts, light leak)Hendrik Brucker
2023-01-24fix ReflectionProbe rendering extents for (10,10,10)jainl28patel
2023-01-22[iOS] Restore OpenGLES3 renderer support.bruvzg
2023-01-21Merge pull request #71776 from clayjohn/PointLight2D-indicesRémi Verschelde
Stop incrementing light_count once max number of lights are reached in 2D canvas renderer
2023-01-20Stop incrementing light_count once max number of lights are reached in 2D ↵clayjohn
canvas renderer
2023-01-21Merge pull request #71772 from clayjohn/GLES3-liRémi Verschelde
Assign light indices after sorting in OpenGL renderer
2023-01-20Assign light indices after sorting in OpenGL rendererclayjohn
This ensures that the light indices sent to the shader actually match where the light is saved
2023-01-20Sort decals and lights based on camera originclayjohn
Also implement sort_offset for decals Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
in favour of texture hints
2023-01-17Flag dirty dependencies when GeometryInstance dependencies change in rendererclayjohn
Normally dependencies are only set dirty when changed during culling, but that misses changes that happen in the renderer (like a new shader being set in a material)
2023-01-17Decompress RA_AS_RG formats on Web platform in GLES3 renderer and disable ↵clayjohn
texture swizzling While using compressed formats is allowed, the RA_AS_RG formats need texture swizzling which is not available on web
2023-01-17GLES3: Fix canvas shader use of undefined draw_dataRémi Verschelde
Fixes #71551.
2023-01-17Merge pull request #71382 from jainl28patel/sprite2d_flip_normal_mapRémi Verschelde
fix normal map not flipping in sprite2D
2023-01-14Merge pull request #71309 from BastiaanOlij/improve_renderscaling_optionsRémi Verschelde
Improving communication of scaling settings to renderer implementation
2023-01-14fix normal map not flipping in sprite2Djainl28patel
2023-01-13Clear material arrays to prevent freeing of invalid texture RIDYuri Rubinsky
2023-01-13Improving communication of scaling settings to renderer implementationBastiaan Olij
2023-01-11OpenGL: Support FORMAT_{ETC2,DXT5}_RA_AS_RGrsjtdrjgfuzkfg
This commit adds support for FORMAT_EXT2_RA_AS_RG and FORMAT_DXT5_RA_AS_RG with OpenGL, fixing VRAM compression with the normal map option enabled.
2023-01-06Properly map shader language texture hints to sampler hints in GLES3 rendererclayjohn
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Ignore depth draw optimization when using depth draw alpha prepassclayjohn
This is necessary as the scene shader still uses alpha in this case so we can't discard fragments that weren't written to the depth buffer
2022-12-23Merge pull request #70253 from BastiaanOlij/cleanup_sky_renderRémi Verschelde
Cleanup and improve sky render
2022-12-23Merge pull request #69998 from BastiaanOlij/sorting-pivot-4Rémi Verschelde
Added options for sorting transparent objects (port of PR #63040)
2022-12-23Cleanup and improve sky renderBastiaan Olij
2022-12-23Added options for sorting transparent objects (port of PR 63040)Bastiaan Olij
2022-12-17Merge pull request #70091 from clayjohn/bone-aabbsRémi Verschelde
Remove mesh bone_aabbs as they are not used anywhere and calculating them is a pain
2022-12-17Merge pull request #70132 from clayjohn/RT-updateRémi Verschelde
Implement render_target_was_used API so that Viewports can properly check if they have been used.
2022-12-17Merge pull request #70163 from clayjohn/particles-sdfRémi Verschelde
Transform sdf xfrom by particle emission transform when particles are in global space
2022-12-17Merge pull request #70133 from lyuma/negative_scale_backfaceRémi Verschelde
Flip culling when rendering a camera with negative scale
2022-12-17Merge pull request #70087 from clayjohn/mesh-aabbRémi Verschelde
Cache mesh AABB when modified by skeleton and update instance AABB when skeleton changes
2022-12-16Implement boot image in OpenGL3 rendererclayjohn
2022-12-16Transform sdf xfrom by particle emission transform when particles are in ↵clayjohn
global space
2022-12-16Implement render_target_was_used API so that Viewports can properly check if ↵clayjohn
they have been used. For the RD renderer, this does not work for Viewports used in scene shaders yet
2022-12-15Flip culling when rendering a camera with negative scaleLyuma
2022-12-15Merge pull request #70065 from clayjohn/GLES3-attribsRémi Verschelde
Use instanced array buffer instead of UBO for canvas item batching
2022-12-15Merge pull request #70016 from Chaosus/refactor_rd_shader_dataYuri Rubinsky
fixed https://github.com/godotengine/godot/issues/69949
2022-12-15Use instanced array buffer instead of UBO for canvas item batchingclayjohn
This simplifies the generated shader code which increases both performance and compile time on low end devices
2022-12-15Fix typos with codespellRémi Verschelde
2022-12-15Refactor `ShaderData` & fix the sorting of shader uniformsYuri Rubinsky
2022-12-14Remove mesh bone_aabbs as they are not used anywhere and calculating them is ↵clayjohn
a pain