summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
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-23Add a few more checks to ensure that unsupported image formats are not used ↵clayjohn
in the mobile renderer
2023-01-23Merge pull request #71910 from jainl28patel/fix_ReflectionProbe_renderingRémi Verschelde
fix ReflectionProbe rendering extents for (10,10,10)
2023-01-23Merge pull request #70429 from BastiaanOlij/check_more_vulkan_extensionsRémi Verschelde
Enabling additional vulkan extension and adding further checks
2023-01-24fix ReflectionProbe rendering extents for (10,10,10)jainl28patel
2023-01-23[Linux/BSD] Include headers for dynamically loaded libraries to simplify ↵bruvzg
build dependencies.
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-22[iOS] Restore OpenGLES3 renderer support.bruvzg
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-21Merge pull request #71220 from reduz/prevent-opening-windows-console-filesRémi Verschelde
Prevent opening Windows console files
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-18Merge pull request #71514 from akien-mga/os-unset_environmentRémi Verschelde
OS: Add `unset_environment`, better validate input
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-16Linux/BSD: Add LINUXBSD_ENABLED define for non X11-related checksRémi Verschelde
2023-01-16OS: Add `unset_environment`, better validate inputRémi Verschelde
Instead of returning an undocumented boolean error code, we do the validation checks that should ensure a successful result. Based on: - https://linux.die.net/man/3/setenv - https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setenvironmentvariable
2023-01-15Enabling additional vulkan extension and adding further checksBastiaan Olij
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-12Merge pull request #71248 from rsjtdrjgfuzkfg/opengl-texture-formatRémi Verschelde
OpenGL: Support FORMAT_{ETC2,DXT5}_RA_AS_RG
2023-01-12Merge pull request #70714 from Calinou/doc-os-stdinRémi Verschelde
Improve documentation for `OS.read_string_from_stdin()`
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-11Improve documentation for `OS.read_string_from_stdin()`Hugo Locurcio
This makes it clearer that calls to this method are blocking. The unused method parameter was also removed.
2023-01-11Prevent opening Windows console filesJuan Linietsky
Fixes #20110.
2023-01-09Make inclusion of Godot version in shader hash universalPedro J. Estébanez
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-21Fix reading Unicode from stdio.bruvzg
2022-12-20Merge pull request #65376 from reduz/astc-supportRémi Verschelde
Implement basic ASTC support
2022-12-20Implement basic ASTC supportJuan Linietsky
Implements basic ASTC support: * Only 4x4 and 8x8 block sizes. * Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future. The need for ASTC is mostly for the following use cases: * Implement a high quality compression option for textures on mobile and M1 Apple hardware. * For this, the 4x4 is sufficient, since it uses the same size as BPTC. ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high. Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing. Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
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