summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2023-05-12Expose viewports render targer RIDBastiaan Olij
(cherry picked from commit ab60d3b65ce990a44fe595ec0860c0ae9ce9358d)
2023-05-12Fix additional cases of breakage of rendering effectsPedro J. Estébanez
(cherry picked from commit c58e50adccf5476dbc661cb2d0f807e419a9e586)
2023-05-12Use proper UV in cubemap downsampler rasterclayjohn
This removes bias in cubemap downsampling shader that resulted in the bottom of cubemaps being over represented (cherry picked from commit fb77021559c42d5512f12baa07dcf94c47b7ab15)
2023-04-27Fix unsupported sampler filter used for voxel GIPedro J. Estébanez
(cherry picked from commit 09aa1bbdb3c9dc4891a192854636a4e33ccd46bc)
2023-04-27Fix breakages of volumetric fog on voxel GI changesPedro J. Estébanez
(cherry picked from commit 2beed0d5dcbfe6a69bc9d5a3a17c4977f10c9a7a)
2023-04-27Fix Shader Preprocessor line numbering when disabledbitsawer
(cherry picked from commit 34896d8e89022935cde02b07f2b22e5a2dff5b4f)
2023-04-24Use MODELVIEW_MATRIX for vertex transform when double precision is enabledJoão Pedro Braz
This commit updates the double precision vertex transform code from using the MODEL_MATRIX to now use the MODELVIEW_MATRIX instead. This can be made possible by transforming the MODELVIEW_MATRIX back into model space (ie, same space as the MODEL_MATRIX) and then using it as if it were the MODEL_MATRIX. With this in place we now properly handle VERTEX transformations that a Material Shader might do, such as billboard-ing. (cherry picked from commit 63c6f0b93ccc0f016b6b6ff7833c31371059a782)
2023-04-24Don't store instance transform in RD 3D renderer unless requestedclayjohn
Previously, when using doubles builds of the engine, instance transform was stored no matter what which caused world space particles to accumulate the instance transform twice (cherry picked from commit 29edd277e4a45c9f84a9f5291087e671b2169191)
2023-04-24Translate inactive particles to -INFErik Johnson
(cherry picked from commit 6229c2a1f99135b841ce43f2728b4ac35a9b1938)
2023-04-24Properly calculate lifetime_split for particlesclayjohn
(cherry picked from commit f35ca4a9c735e49d496c4e733e7dc9a072841f92)
2023-04-07Fix the limit for interpolation of R0 with respect to metallic and SSRmightygoat
Shlick term (cherry picked from commit 2c000cb72fc04fd76c5d3b6bc53955f83bf50c71)
2023-03-27fix spotlight shadows in volumetric fogRandomCatDude
(cherry picked from commit 59c31004f8c6feed601f2bfeedb86959563a4ef0)
2023-03-14Fix instance uniforms breaking when setting a new mesh.Johan Aires Rastén
Fixes #58113 (cherry picked from commit 26aecbfe572c7c1164cfb36088aaf443a73f99df)
2023-03-14Fixes a canvas item set to clip children being drawn as black if no children ↵SlugFiller
are visible (cherry picked from commit f25508befb4f0358ba8a8aaa35cdee4d9c20637c)
2023-03-14Fix AABB calculation for meshes using Skeleton2DSlugFiller
(cherry picked from commit 06a1fe03644c57256b90b2840db1ef902187145a)
2023-03-13Error on hint_normal_roughness_texture and hint_depth_texture outside of ↵Fabio Iotti
spatial shader (cherry picked from commit 528e0d095eba65804e3b4174f8138cdc920382a9)
2023-03-13Use MSAA 2D texture in multipass tonemapperBastiaan Olij
(cherry picked from commit 903aa0e385ac79ca747029c0e12823b2671304a8)
2023-03-13Add a few more rendering timestampsclayjohn
(cherry picked from commit 1adc4e5875782c064759bf810c511ac42b0f2d05)
2023-03-13Avoid copying CanvasTexture when updating proxyclayjohn
(cherry picked from commit 84482ef90bf5f902f14594d957af8c0e3866f88c)
2023-02-26Merge pull request #73959 from clayjohn/GL-mobile-warningsRémi Verschelde
Add warnings for unsupported features in mobile and gl_compatibility backends
2023-02-26Add warnings for unsupported features in mobile and gl_compatibility backendsclayjohn
2023-02-26Fix shader preprocessor include resource checkbitsawer
2023-02-24Fixing issues with SSIL artifactsBastiaan Olij
2023-02-22Fix issue with default textures requiring arrays when using multiviewBastiaan Olij
2023-02-21Merge pull request #73698 from clayjohn/SS-biasRémi Verschelde
Increase SSAO and SSIL bias to account for variance in mipmap generation
2023-02-21Merge pull request #73478 from NewDefectus/masterRémi Verschelde
Use the original canvas to calculate light positioning
2023-02-21Increase SSAO and SSIL bias to account for variance in mipmap generationclayjohn
2023-02-21Use the original canvas to calculate light positioningAlon Ran
2023-02-21Forbid passing multiview sampler to the custom function in shadersYuri Rubinsky
2023-02-17Merge pull request #73195 from timothyqiu/weblate-commentsRémi Verschelde
Improvements and fixes based on Weblate comments
2023-02-16Fix sampling bug when SSAO is using half sizeclayjohn
2023-02-14Merge pull request #73263 from clayjohn/render_priorityRémi Verschelde
Notify mesh surface when render_priority changes
2023-02-13Notify mesh surface when render_priority changesclayjohn
This ensures that the mesh properly takes render_priority into account when changed
2023-02-13Merge pull request #69001 from dzil123/fix_rendering_checksRémi Verschelde
Fix various missing rendering parameter checks
2023-02-13Merge pull request #73240 from myaaaaaaaaa/worker-hRémi Verschelde
Move some `worker_thread_pool.h` includes out of header files
2023-02-13Move some worker_thread_pool.h includes out of header filesmyaaaaaaaaa
2023-02-13Merge pull request #72838 from BastiaanOlij/update_screen_space_render_buffersRémi Verschelde
Add render buffer support to screen space effects
2023-02-13Improvements and fixes based on Weblate commentsHaoyu Qiu
* Description of `ui_text_submit` action should be "Submit Text" instead of "Text Submitted". * Spell out "Animation" instead of using "Anim.". * Treat "Max" as regular word instead of writing "Max.". * Use generic "Set %s" for action name instead of a dedicated "Set target_position". * Add translator comment for: * "Inclusive" and "Self" in the profiler. * Places where it needs the context about being an editor progress label. * "Duplicated Animation Name" since it's refering to the new name of a duplicated animation. * Disambiguation of "View Plane Transform", "Paste Selects" and "Display Normal". * Fix wrong undo action name for renaming an input action. * Fix missing end quote in a shader error message. * In class reference: * Fix duplicated "if" in the description of `signf()`. * Fix mismatched example output in `String.operator %()`. * Fix typo in the description of `Decal.texture_emission`. * Unify description of `String.match()` and `StringName.match()`.
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-10Add render buffer support to screen space effectsBastiaan Olij
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