summaryrefslogtreecommitdiff
path: root/drivers/gles3
AgeCommit message (Collapse)Author
2022-12-06Merge pull request #69636 from Malcolmnixon/vulkan-mobile-sky-matrixRémi Verschelde
Fix mobile renderer sky_transform operations
2022-12-06Modified the mobile renderer to apply the sky_transform operations in the ↵Malcolm Nixon
same order as the forward_plus renderer. Update rasterizer_scene_gles3.cpp Apply sky_transform order fix to the gles3 renderer.
2022-12-06Merge pull request #65035 from nathanfranke/fix-aabb-meshRémi Verschelde
Fix AABB errors on meshes with bones on multiple surfaces
2022-12-06Merge pull request #69634 from clayjohn/GLES3-specRémi Verschelde
Clean up specialization constants in OpenGL scene renderer
2022-12-06Merge pull request #69633 from clayjohn/GLES3-texturesRémi Verschelde
Use internal texture name when setting texture uniform location in OpenGL renderer
2022-12-06Merge pull request #69581 from dsnopek/openxr-opengl-flip-screenRémi Verschelde
[opengl] Don't flip render target when blitting it to screen if it wasn't rendered upside down
2022-12-05Clean up specialization constants in OpenGL scene rendererclayjohn
Also add support for disabling omni and spot lights when not used
2022-12-05Use internal texture name when setting texture uniform location in OpenGL ↵clayjohn
renderer
2022-12-05Merge pull request #69521 from clayjohn/GLES3-glslRémi Verschelde
Expose emulated *Unorm4x8 glsl functions in non-android builds
2022-12-04Exposure emulated *Unorm4x8 glsl functions in non-android buildsclayjohn
Originally these functions were exposed on all GLSL ES 300 devices. However, that causes a build error as Android devices expose the *Unorm4x8 functions despite them not being in the ES 300 spec
2022-12-04fix aabb errors on meshes with bones on multiple surfacesNathan Franke
2022-12-04[opengl] Don't flip render target when blitting it to screen if it wasn't ↵David Snopek
rendered upside down
2022-12-03Implement CAMERA_VISIBLE_LAYERS as built-in shader variableNumbuhFour
2022-12-03Merge pull request #69522 from clayjohn/IBL-black-metalRémi Verschelde
Allow black metallic materials to reflect IBL
2022-12-03Merge pull request #69514 from clayjohn/IBL-roughnessRémi Verschelde
Properly remap roughness when reading from radiance map
2022-12-02Allow black metallic materials to reflect IBLclayjohn
2022-12-02Properly remap roughness when reading from radiance mapclayjohn
This ensures that we consistently use perceptual roughness which matches the behaviour of most other PBR renderers like Blender, Ue4 and Godot 3
2022-12-02Merge pull request #68870 from dsnopek/master-webxr-inputRémi Verschelde
Get WebXR fully working in Godot 4!
2022-12-01Get WebXR fully working in Godot 4!David Snopek
2022-12-01Merge pull request #69325 from clayjohn/GLES3-skeletonsRémi Verschelde
Add Skeletons and Blend Shapes to the OpenGL renderer
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-29Add Skeletons and Blend Shapes to the OpenGL rendererclayjohn
This uses a similar multipass approach to blend shapes as Godot 3.x, the major difference here is that we need to convert the normals and tangents to octahedral for rendering. Skeletons work the same as the Vulkan renderer except the bones are stored in a texture as they were in 3.x.
2022-11-24Fix drawing of Mesh2Dclayjohn
The batch was being discarded if no instance buffer was present, but an instance buffer is only needed for MultiMesh and particles.
2022-11-21Expose model_matrix in GLES3 scene fragment shaderclayjohn
2022-11-20Merge pull request #68830 from Ayush-singla27/issuebranchRémi Verschelde
fixed incorrect mesh normals in shaders
2022-11-18Fix drawing of 2D skeletons in the RD renderer.clayjohn
Also clean up skeleton code in preparation for adding them to GLES3 Properly update Mesh2D AABBs when skeleton is updated
2022-11-19fixed incorrect mesh normals in shadersAyush Singla
2022-11-16GLES3 TextureStorage - add missing null checksdzil123
2022-11-15Merge pull request #68372 from Riteo/glad2Rémi Verschelde
Regenerate GL loader code with GLAD 2
2022-11-15Merge pull request #68426 from clayjohn/GLES3-particlesRémi Verschelde
Add GPUParticles to the OpenGL3 renderer.
2022-11-15Merge pull request #68628 from clayjohn/shadowsRémi Verschelde
Implement is_animated and casts_shadows
2022-11-14Add GPUParticles to the OpenGL3 renderer.clayjohn
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
2022-11-14Regenerate GL loader code with GLAD 2Riteo
GLAD 1 creates unusable loaders for EGL, while the newly released GLAD 2 does not, so for consistency I thought that it would be a good idea to uniform things beforehand. While it had some API changes some renames were all that was needed and everything works like before, at least on the Wayland branch. I've kept the structure identical, although this new generator has quite a few hefty features, such as a single header mode. I've also added GLAD to `thirdparty/README.md`, but I haven't specified that in the commit title because it's a very small "fix".
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-14Merge pull request #61884 from Calinou/alpha-hash-use-opaque-pipelineRémi Verschelde
Use opaque rendering pipeline for alpha hash materials
2022-11-13Implement is_animated and casts_shadowsclayjohn
This allows the renderer to correctly decide when to update shadow maps This PR also adds TIME to a few missing places
2022-11-11Implement texture_proxy_update which is needed for AnimatedTextureclayjohn
2022-11-11Merge pull request #68186 from pkdawson/expose-texture-rdRémi Verschelde
Expose texture_get_rd_texture for scripts
2022-11-11Merge pull request #67374 from MrBlockers/fix-draw-primitiveRémi Verschelde
Fix draw_primitive ignoring texture argument
2022-11-09Merge pull request #68440 from clayjohn/redraw-TIMERémi Verschelde
Request redraw in OpenGL3 and mobile renderers when TIME used in shader
2022-11-08Request redraw in OpenGL3 and mobile renderers when TIME used in shaderclayjohn
2022-11-08Add support for OpenGL to OpenXRDavid Snopek
2022-11-04Fix pathological corner case in drawing tileset editorclayjohn
Interleaving draw_rect calls with and without a texture forces every rect to have its own draw call. In this case it meant that there is a draw call for every single tile in the atlas. This change makes it so the renderer can batch draw calls which reduced the draw call count by a factor of 512
2022-11-03Collapse three seperate texture storage methods into ↵David Snopek
render_target_set_override()
2022-11-03Expose texture_get_rd_texturePatrick Dawson
2022-11-03Merge pull request #67770 from clayjohn/GLES3-flip_yRémi Verschelde
Remove depth correction in GLES3 renderer
2022-11-02Merge pull request #68120 from akien-mga/style-doc-cleanupRémi Verschelde
Style: Misc docs and comment style and language fixes
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Bind DirectionalLight buffer to uniform slot even when not usedclayjohn
This avoids a WEBGL error causes PanoramaSkys to fail to render
2022-11-02Merge pull request #67639 from clayjohn/GLES3-2d-shadowsRémi Verschelde
Add 2D shadows and canvas SDF to OpenGL3 renderer