summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2023-02-13Notify mesh surface when render_priority changesclayjohn
This ensures that the mesh properly takes render_priority into account when changed
2023-02-11Merge pull request #73060 from clayjohn/screen_texture-sizeRémi Verschelde
Avoid inserting screen_texture compatibility code when using textureSize
2023-02-10Avoid inserting screen_texture compatibility code when using textureSizeclayjohn
2023-02-10Do clear request before reading from render target when using CANVAS_BGclayjohn
2023-02-10Merge pull request #70663 from EpEpDragon/feature_buffer_get_data_size_optionRémi Verschelde
Add optional size parameter to the RenderDevice buffer_get_data method.
2023-02-10Fix crash in editor when setting `SubViewport.size` to zeroMarkus Sauermann
`Viewport::_set_size` now verifies, that the minimum size is at least 2x2. Also fix `RendererViewport::viewport_set_size` fail condition.
2023-02-09Improve some editor strings for localizationHaoyu Qiu
2023-02-08Mark fma function as high end so it isn't used with the gl_compatibility ↵clayjohn
renderer
2023-02-07Some code simplificationsMarkus Sauermann
1. `number_width` isn't used later 2. `return_type` is used only once 3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger 4. negative `aa->backward` conditional 5. `current_canvas` == `find_world_2d()->get_canvas()` 6. identical if `render_shadows`
2023-02-06Implement cull_mask for decals and lights in mobile and compatibility backendsclayjohn
2023-02-04Merge pull request #72695 from clayjohn/CanvasGroup-shadingYuri Sizov
Avoid shading CanvasGroup nodes twice
2023-02-03Avoid shading CanvasGroup nodes twiceclayjohn
2023-02-03Fix MultiMesh visible_instance_count being ignored after the first frameRicardo Buring
Co-authored-by: Clay John <claynjohn@gmail.com>
2023-02-03Merge pull request #72631 from rburing/custom_aabb_update_dependencyRémi Verschelde
Notify dependencies when setting custom mesh AABB
2023-02-03Merge pull request #72589 from BastiaanOlij/add_layer_slice_supportRémi Verschelde
Add layer slice support to render device and render buffers
2023-02-03Add layer slice support to render device and render buffersBastiaan Olij
2023-02-02Notify dependencies when setting custom mesh AABBRicardo Buring
Fixes SoftBody3D culling issues.
2023-02-02Merge pull request #72494 from Chaosus/shader_fix_const_initRémi Verschelde
Fix shader failure when using non-const initializer on a constant
2023-02-01More codespell fixes, do more changes from previous ignore listRémi Verschelde
2023-02-01Fix shader failure when using non-const initializer on a constantYuri Rubinsky
2023-02-01Merge pull request #63829 from clayjohn/VULKAN-disable-multiviewRémi Verschelde
Disable multiview shader versions when xr is disabled
2023-02-01Merge pull request #72485 from BastiaanOlij/add_eye_matrix_accessRémi Verschelde
Expose EYE_OFFSET to gdshader code
2023-02-01Merge pull request #72464 from clayjohn/RD-skeleton-crashRémi Verschelde
Check if Skeleton exists before reading when calculating blend shapes
2023-02-01Merge pull request #72075 from Maran23/extents-to-sizeRémi Verschelde
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
2023-02-01Expose EYE_OFFSET to gdshader codeBastiaan Olij
2023-01-31Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and ↵Marius Hanl
GPUParticles*3D - Extents are replaced by Size (Size is Extents * 2) - The UI text displays 'Size' - Snapping is adjusted to work with Size - _set and _get handle extents for compatibility Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2023-01-31Check if Skeleton exists before reading when calculating blend shapesclayjohn
2023-01-31Merge pull request #72404 from clayjohn/RD-sky-crashRémi Verschelde
Fix various crashes relating to low roughness_layers
2023-01-31Merge pull request #72433 from clayjohn/Pointlight2D-crashRémi Verschelde
Avoid crash when CanvasTexture used with light decal atlas
2023-01-31Merge pull request #72343 from clayjohn/editor-canvas-bgRémi Verschelde
Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
2023-01-30Avoid crash when CanvasTexture used with light decal atlasclayjohn
The decal atlas is used for Light2Ds, decals, and Light3Ds
2023-01-30Remove viewport_set_disable_environment in favor of ↵clayjohn
viewport_set_environment_mode This allows us to set a default value inherited by child viewports and have child viewports set the value themselves which is needed for disabling the environment in the editor
2023-01-30Fix various crashes relating to low roughness_layersclayjohn
2023-01-30Merge pull request #72031 from reduz/change-high-quality-texture-importRémi Verschelde
Refactor high quality texture import
2023-01-30Merge pull request #72393 from clayjohn/GLES3-normal-roughness-errorRémi Verschelde
Add a shader error when trying to using hint_normal_roughness_texture in the gl_compatibility renderer
2023-01-30Merge pull request #72356 from BastiaanOlij/fix_ssao_ssil_probesRémi Verschelde
Fix SSAO/SSIl being applied to reflection probes
2023-01-30Add a shader error when trying to using hint_normal_roughness_texture in the ↵clayjohn
gl_compatibility renderer
2023-01-30Refactor high quality texture importJuan Linietsky
* Only two texture import modes for low/high quality now: * S3TC/BPTC * ETC2/ASTC * Makes sense given this is the general preferred and most compatible combination in most platforms. * Removed lossy_quality from VRAM texture compression options. It was unused everywhere. * Added a new "high_quality" option to texture import. When enabled, it uses BPTC/ASTC (BC7/ASTC4x4) instead of S3TC/ETC2 (DXT1-5/ETC2,ETCA). * Changed MacOS export settings so required texture formats depend on the architecture selected. This solves the following problems: * Makes it simpler to import textures as high quality, without having to worry about the specific format used. * As the editor can now run on platforms such as web, Mac OS with Apple Silicion and Android, it should no longer be assumed that S3TC/BPTC is available by default for it.
2023-01-30Fix SSAO/SSIl being applied to reflection probesBastiaan Olij
2023-01-29Merge pull request #72214 from clayjohn/Skeleton2D-pivotRémi Verschelde
Automatically transform Skeleton2D calculations so pivots are not needed
2023-01-27Automatically transform Skeleton2D calculations so pivots are not neededclayjohn
2023-01-27Fix several shader preprocessor include issuesbitsawer
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-26Merge pull request #72109 from Chaosus/shader_derivativeRémi Verschelde
Add derivative functions with precision to shaders
2023-01-26Properly append global uniform buffer name in gl_compatibility shadersclayjohn
Also error when using instance uniforms
2023-01-26Add derivative functions with precision to shadersYuri Rubinsky
2023-01-26Several shader preprocessor parser fixes and improvementsbitsawer
2023-01-26Merge pull request #72068 from clayjohn/RD-sky-textureRémi Verschelde
Validate another case of using DATA_FORMAT_A2B10G10R10_UNORM_PACK32 texture with storage flag
2023-01-26Merge pull request #72078 from bitsawer/fix_optimize_verticesRémi Verschelde
Fix range loop iteration regressions