summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2022-12-14Remove mesh bone_aabbs as they are not used anywhere and calculating them is ↵clayjohn
a pain
2022-12-13Merge pull request #70009 from clayjohn/glow-hqRémi Verschelde
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13Various fixes and documentation for CanvasGroupclayjohn
Properly apply custom materials with CanvasGroups in the GLES3 backend Properly blur backbuffer when using a partial rect in forward_plus and gl_compatibility renderers Properly set fit_margin when clear_margin is set Fix shader error during backbuffer clear in mobile renderer
2022-12-13Remove high quality glow as it is not any higher quality than regular glowclayjohn
2022-12-12Merge pull request #69635 from BastiaanOlij/fix_get_bufferRémi Verschelde
Fix barrier on buffer_get_data
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-12Merge pull request #69901 from akien-mga/gles3-fix-scene-shader-omni-spotRémi Verschelde
OpenGL: Fix scene shader error when using Omni or Spot but not both
2022-12-11Changed `RD::PipelineDynamicStateFlags` type to enum flagsYuri Rubinsky
2022-12-11OpenGL: Fix scene shader error when using Omni or Spot but not bothRémi Verschelde
Fixes #69886.
2022-12-10Invalidate the previous index array after calling glBindVertexArray, as this ↵Malcolm Nixon
call clears the GL_ELEMEMT_ARRAY_BUFFER when changing the state. Update rasterizer_scene_gles3.cpp Fix white-space to match godotengine checks.
2022-12-08Merge pull request #69735 from clayjohn/Particles2D-sdfRémi Verschelde
Detect and report if 2D particles use the screen SDF
2022-12-07Merge pull request #69733 from clayjohn/GLES3-skeleton-leakRémi Verschelde
Properly free Skeleton RID in RenderingServer.free()
2022-12-07Detect and report if 2D particles use the screen SDFclayjohn
This ensures that the SDF is updated even if not used in a canvas_item shader
2022-12-07Properly free Skeleton RID in RenderingServer.free()clayjohn
2022-12-06Merge pull request #69322 from BastiaanOlij/fix_vulkan_versionsRémi Verschelde
Fix issue around incorrect Vulkan version
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-06Fix barrier on buffer_get_dataBastiaan Olij
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-05Fix issue where we should be using device supported version instead of ↵Bastiaan Olij
instance version for Vulkan
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-28Merge pull request #68740 from bruvzg/ios_fixesRémi Verschelde
[iOS] Fix getting Unicode executable path, fix error spam on start.
2022-11-26Changed `RenderingDevice::TextureUsageBits` type to enum flagsYuri Rubinsky
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-24Improve logic for detecting and tracking extensionsBastiaan Olij
2022-11-22Merge pull request #68942 from Chaosus/barrier_mask_flagsRémi Verschelde
Expose `BarrierMask` as flags enum in `RenderingDevice`
2022-11-22Expose `BarrierMask` as flags enum in `RenderingDevice`Yuri Rubinsky
2022-11-21Expose model_matrix in GLES3 scene fragment shaderclayjohn
2022-11-21Merge pull request #68527 from pkdawson/vertex-array-offsetsRémi Verschelde
Add `offsets` parameter to RenderingDevice::vertex_array_create
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