Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. | |||
2022-03-05 | Fix flipped EYEDIR.z in sky shaders | Jesse Dubay | |
2022-03-05 | use the computed value ambient_accum for ambient_light in ↵ | Priyansh Rathi | |
scene_forward_mobile.glsl | |||
2022-03-04 | Remove unused `shadow_color` property from Light3D | Hugo Locurcio | |
This shadow color property was no longer effective since the shaders were optimized to improve occupancy. | |||
2022-03-04 | Merge pull request #58734 from Calinou/tweak-render-timestamp-names | Rémi Verschelde | |
Tweak render timestamp names for explicitness and consistency | |||
2022-03-04 | Merge pull request #58512 from Calinou/light3d-add-distance-fade | Rémi Verschelde | |
2022-03-04 | Tweak render timestamp names for explicitness and consistency | Hugo Locurcio | |
- Add 2D and 3D in timestamp names when needed to avoid ambiguity. - Use present tense in all render timestamp names. - Add a space after ">" (begin) and "<" (end) symbols. - Remove redundant "End" in render timestamp names (indicated by "<"). | |||
2022-03-03 | Add multiview/stereoscopic rendering support to the clustered forward renderer | Bastiaan Olij | |
2022-03-01 | Revert "Fix particle trail glitch" | Rémi Verschelde | |
2022-02-28 | Merge pull request #58614 from Calinou/ssr-roughness-quality-enum-fix-typo | Rémi Verschelde | |
Fix typo in SSR roughness quality enum value names | |||
2022-02-28 | Fix typo in SSR roughness quality enum value names | Hugo Locurcio | |
2022-02-26 | Fix particle trail glitch | floppyhammer | |
2022-02-25 | Implement distance fade properties in OmniLight3D and SpotLight3D | Hugo Locurcio | |
This can be used to fade lights and their shadows in the distance, similar to Decal nodes. This can bring significant performance improvements, especially for lights with shadows enabled and when using higher-than-default shadow quality settings. While lights can be smoothly faded out over distance, shadows are currently "all or nothing" since per-light shadow color is no longer customizable in the Vulkan renderer. This may result in noticeable pop-in when leaving the shadow cutoff distance, but depending on the scene, it may not always be that noticeable. | |||
2022-02-23 | Filament specular fix. Clamp dot product between normal and view vectors. ↵ | Darryl Ryan | |
Fixes #58459. | |||
2022-02-23 | Implementing OpenXR driver | Bastiaan Olij | |
2022-02-22 | Use Filament specular models and parametrization | clayjohn | |
2022-02-22 | Fix GPUParticles2D emission offset in global coords | floppyhammer | |