Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-05-02 | Make Decal distance fade smoother | Hugo Locurcio | |
`smoothstep()` avoids the sudden transparency jump when entering or leaving a decal's distance fade margin distance. This in turn helps make opacity transitions less noticeable to the player, as it's less likely to catch the player's eye. | |||
2022-05-02 | Merge pull request #60705 from awsker/fix-viewport-clearing | Rémi Verschelde | |
Viewport would be cleared even when clear_mode was set to never clear | |||
2022-05-02 | Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init` | Rémi Verschelde | |
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors. | |||
2022-05-02 | Viewport would be cleared even when clear_mode was set to VIEWPORT_CLEAR_NEVER | awsker | |
2022-05-01 | Merge pull request #60682 from Chaosus/shader_vec3_hint_color | Yuri Rubinsky | |
2022-05-01 | Add `hint_color` support for `vec3` in shaders | Yuri Roubinsky | |
2022-04-30 | Use linear mipmap sampling in ToneMapper | clayjohn | |
2022-04-28 | Merge pull request #60547 from BastiaanOlij/split_tonemapper_effect | Rémi Verschelde | |
Splitting tonemapper into its own class | |||
2022-04-28 | Splitting tonemapper into its own class | Bastiaan Olij | |
2022-04-27 | Merge pull request #59979 from bruvzg/cpp_check2 | Rémi Verschelde | |
2022-04-26 | Fix "ortogonal" -> "orthogonal" typo in rasterizer code | Hugo Locurcio | |
2022-04-26 | Prevent shader crash when using precision on boolean types | Yuri Roubinsky | |
2022-04-25 | Fix clearing backbuffer if there are no items | NNesh | |
2022-04-25 | Merge pull request #60407 from JFonS/fix_color_pass_lm | Rémi Verschelde | |
2022-04-22 | Implement Label3D node. | bruvzg | |
Add "generate_mipmap" font import option. Add some missing features to the Sprite3D. Move BiDi override code from Control to TextServer. Add functions to access TextServer font cache textures. Add MSDF related flags and shader to the standard material. Change standard material cache to use HashMap instead of Vector. | |||
2022-04-21 | Add missing color pass flags to the valid list | Joan Fons | |
Some valid flag combinations were missing, causing error spam in certain situations. | |||
2022-04-20 | Fix more issues found by cppcheck. | bruvzg | |
2022-04-20 | Merge pull request #60175 from Geometror/visual-shader-vector4 | Yuri Rubinsky | |
2022-04-19 | Merge pull request #60214 from JFonS/fix_depth_prepass | Clay John | |
Fix depth pre-pass on all face cull modes | |||
2022-04-17 | Moved particles into ParticlesStorage | Bastiaan Olij | |
2022-04-17 | Move light, reflection probe and lightmap into LightStorage | Bastiaan Olij | |
2022-04-17 | Merge canvas and decal into TextureStorage and add render target | Bastiaan Olij | |
2022-04-13 | Merge pull request #60213 from JFonS/fix_depth_state | Rémi Verschelde | |
2022-04-13 | Fix depth pre-pass on all face cull modes | Joan Fons | |
The default shadow material was used for depth rendering disregarding the cull mode of the original material. This commit adds a check so the default shadow material is only used when the original material has back-face culling. | |||
2022-04-13 | Fix regression in rasterizer state | Joan Fons | |
Fixes a regression introduced by the color pass flags rework. The various rasterizer state structs were not being reset for each flag combination, which meant some state changes were wrongly applied to some flag combinations. | |||
2022-04-13 | Color: Rename `to_srgb`/`to_linear` to include base color space | Rémi Verschelde | |
This helps reduce confusion around sRGB <> Linear conversions by making both input and output color spaces explicit. | |||
2022-04-12 | Add Vector4 to VisualShader | Hendrik Brucker | |
2022-04-12 | Merge pull request #60171 from Chaosus/restore_aa | Yuri Rubinsky | |
2022-04-12 | Merge pull request #60069 from Calinou/fsr-fix-editor-enum | Rémi Verschelde | |
2022-04-12 | Merge pull request #59825 from Chaosus/shader_fix | Rémi Verschelde | |
Fix incorrect parsing array's `length()` at return statement in shader | |||
2022-04-12 | Restore antialiasing for `draw_line` | Yuri Roubinsky | |
2022-04-11 | Use less blur for distant directional shadow splits | Hugo Locurcio | |
This makes the transition between shadow splits less noticeable, specially when the expensive Blend Splits property is disabled. | |||
2022-04-11 | Merge pull request #60137 from JFonS/fix_default_shadow_tex | Rémi Verschelde | |
Fix Vulkan validation errors on default depth textures | |||
2022-04-11 | Merge pull request #57899 from Chaosus/fix_aa | Yuri Rubinsky | |
2022-04-11 | Merge pull request #60138 from JFonS/fix_spec_constants | Rémi Verschelde | |
2022-04-11 | Fix specialization constant updates in color passes | jfons | |
The color pass specialization constants were not being updated after splitting them to their own array. | |||
2022-04-11 | Make FileAccess and DirAccess classes reference counted. | bruvzg | |
2022-04-11 | Fix Vulkan validation errors on default depth textures | jfons | |
The validation layers were complaining that we use DEFAULT_RD_TEXTURE_WHITE (which is RGBA8) in places where it's sampled as a depth texture. This commit adds the new default texture DEFAULT_RD_TEXTURE_DEPTH and uses it where needed. | |||
2022-04-09 | Fix 3D scaling enum size in the editor and improve descriptions | Hugo Locurcio | |
2022-04-06 | Fix some issues found by cppcheck. | bruvzg | |
2022-04-04 | Zero initialize all pointer class and struct members | Rémi Verschelde | |
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr. | |||
2022-04-03 | Fix incorrect parsing array's `length()` at return statement in shader | Yuri Roubinsky | |
2022-04-02 | Move storage for Mesh, MeshInstance, MultiMesh and Skeleton into MeshStorage | Bastiaan Olij | |
2022-04-01 | Merge pull request #59774 from Chaosus/shader_fix | Yuri Rubinsky | |
2022-04-01 | Add color pass flags to Forward Clustered renderer | jfons | |
This commit removes a lot of enum values related to the color render pass in favor of a new flag-bases approach. This means instead of hard-coding all the possible option combinations into enums, we can write our logic by checking a bit-mask. The changes in rendering_device_vulkan.cpp add support for unused attachments. That means RenderingDeviceVulkan::framebuffer_create() can take null RIDs in the attachments vector, which will result in VK_ATTACHMENT_UNUSED entries in the render pass. This is used in this same PR to establish fixed locations for the color pass attachments (only color and separate specular so far, but TAA will add motion vectors as well). This way the attachment locations in the shader can stay the same regardless of which attachments are actually used. Right now all the combinations of flags are generated, but we will need to add a way to limit the amount of combinations in the future. | |||
2022-04-01 | Fix shader crashing when attempting to access `length()` at global space | Yuri Roubinsky | |
2022-03-31 | Merge pull request #59385 from BastiaanOlij/extract_shader_storage | Rémi Verschelde | |
2022-03-31 | Fix typos with codespell | Rémi Verschelde | |
Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns. | |||
2022-03-31 | Extract global variable, shader and material storage | Bastiaan Olij | |
2022-03-29 | Fix canvas_group not being freed in RendererCanvasCull::free | Dimitris Nikolaidis | |