Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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 | |
2022-03-29 | Remove `SHADOW_ATTENUATION` spatial light shader built-in | Yuri Roubinsky | |
2022-03-27 | Add GDExtension support to Script | reduz | |
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again). | |||
2022-03-25 | Fix shader undefined variable | nevarek | |
2022-03-21 | Extract Decal and Decal atlas from Storage class | Bastiaan Olij | |
2022-03-20 | Call the correct texture free method on texture storage cleanup | Bastiaan Olij | |
2022-03-18 | Add inverse projection matrix to fragment shader globals | nevarek | |
2022-03-18 | Rename several transform built-ins in shaders | Yuri Roubinsky | |
2022-03-18 | Merge pull request #59087 from clayjohn/sky-mode | Rémi Verschelde | |
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum | |||
2022-03-17 | Merge pull request #58954 from Ansraer/alpha_scissor | Rémi Verschelde | |
[4.0] Fix alpha scissor support | |||
2022-03-17 | Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum | Hugo Locurcio | |
3 options are available: - Light and Sky (default) - Light Only (new) - Sky Only (equivalent to `use_in_sky_only = true`) Co-authored by: clayjohn <claynjohn@gmail.com> | |||
2022-03-17 | Another `-Wsign-compare` fix | Rémi Verschelde | |
Fixing CI while afk, fun. | |||
2022-03-17 | Fix `-Wsign-compare` warning after #58993 | Rémi Verschelde | |
2022-03-17 | Merge pull request #58993 from notSanil/device-limit-exceeded-fix | Rémi Verschelde | |
2022-03-17 | Fix alpha scissor support | Ansraer | |
2022-03-16 | Fix device limit exceeding for uniform buffer | notSanil | |
2022-03-16 | Split dummy renderer classes into separate files | Bastiaan Olij | |
Split canvas_texture_storage and texture_storage from render_storage class | |||
2022-03-16 | Merge pull request #49092 from BastiaanOlij/multiview_clustered | Rémi Verschelde | |
Add multiview support to the clustered forward renderer | |||
2022-03-15 | Merge pull request #45263 from KoBeWi/😕 | Rémi Verschelde | |
2022-03-14 | Fix D_GGX code which can cause divide-by-zero val | snowapril | |
When given roughness is lower than 0.01, d value in original code will be zero. This can make last return value as NAN because of divide-by-zero. This is well addressed in issue #56373. Modified code is referenced on D_GGX function of google/filament (https://github.com/google/filament/blob/main/shaders/src/brdf.fs#L54-L79) Signed-off-by: snowapril <sinjihng@gmail.com> | |||
2022-03-13 | Merge pull request #58819 from vreon/fix-eyedir-z | Rémi Verschelde | |
Fix flipped EYEDIR.z in sky shaders | |||
2022-03-09 | Change some math macros to constexpr | kobewi | |
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`. | |||
2022-03-08 | Sky renderer: Only flip Z when calculating panorama_coords | Jesse Dubay | |
2022-03-08 | Merge pull request #49447 from Calinou/remove-shadow-color-property | Rémi Verschelde | |
Remove unused `shadow_color` property from Light3D | |||
2022-03-07 | Merge pull request #58779 from techiepriyansh/forward-mobile-ambient-accum | Rémi Verschelde | |
2022-03-06 | Sky renderer: Don't invert Z component of light direction | Jesse Dubay | |
2022-03-06 | Add a UniformSet cache | reduz | |
* Changed syntax usage for RD::Uniform to create faster with a single RID * Converted render pass setup to use this in clustered renderer to test. This is the first step into creating a proper uniform set cache system to simplify large parts of the codebase. |