summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders
AgeCommit message (Collapse)Author
2022-02-15Add Particle Shader Userdatareduz
* Adds optional vec4 USERDATA1 .. USERDATA6 to particles, allowing to store custom data. * This data is allocated on demand, so shaders that do not use it do not cost more.
2022-02-11RendererRD: Remove binding specifier for push constantsRémi Verschelde
This is unsupported and glslang made it raise an error in 11.7.0: https://github.com/KhronosGroup/glslang/pull/2810 Co-authored-by: Clay John <claynjohn@gmail.com>
2022-02-09remove normal_to_panorama from spotlight projectorBartłomiej Dusak
2022-02-07Merge pull request #57682 from clayjohn/VULKAN-canvas-blurRémi Verschelde
2022-02-06Merge pull request #56844 from Calinou/ssr-fix-background-line-masterRémi Verschelde
Fix visible background line in intersections in screen-space reflections
2022-02-05Optimize and fix backbuffer gaussian blurclayjohn
2022-01-26Merge pull request #54574 from Ansraer/glow_mapRémi Verschelde
2022-01-20Merge pull request #55360 from Calinou/rename-bake-mode-propertiesRémi Verschelde
2022-01-20add support for glow mapsAnsraer
2022-01-16Fix visible background line in intersections in screen-space reflectionsHugo Locurcio
Adjusting the step grading by one resolves the issue without affecting performance or introducing adverse artifacts.
2022-01-13Fix various typosluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
2022-01-05Merge pull request #56208 from williamd67/GPULightmapper-sky-upside-downRémi Verschelde
2022-01-04Fix `world_vertex_coords` render mode usage in the shadersYuri Roubinsky
2022-01-04Merge pull request #51206 from clayjohn/Vulkan-ASSGIRémi Verschelde
2022-01-04Merge pull request #54409 from clayjohn/VULKAN-glow-flickerRémi Verschelde
2022-01-04Merge pull request #55424 from Calinou/voxelgi-remove-unused-struct-fieldsRémi Verschelde
Remove unused struct fields in VoxelGIData
2022-01-04Merge pull request #55422 from Calinou/gi-shader-remove-unused-defineRémi Verschelde
Remove unused code in GI shaders
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-24GPULightmapper: cube to panorama copy function flip y based on flagWilliam Deurwaarder
Cube to panorama copy function unconditionally flipped y, while other copy functions flipped y base on FLAG_FLIP_Y. Condition is added.
2021-12-14Rename and reorder bake mode properties for consistencyHugo Locurcio
The order now goes from least to most computationally expensive: - Disabled - Static - Dynamic
2021-12-08Fix volumetric fog in combination with spotlightsHendrik Brucker
2021-11-28Remove unused struct fields in VoxelGIDataHugo Locurcio
This reduces the struct size from 112 bytes to 96 bytes.
2021-11-28Remove unused code in GI shadersHugo Locurcio
2021-11-25[macOS / iOS] Use non atomic operation to store facing bits on MoltenVK.bruvzg
2021-11-24Merge pull request #51679 from Je06jm/fsrRémi Verschelde
AMD FidelityFX Super Resolution
2021-11-24[macOS / iOS] Use storage buffers instead of unsupported images for the ↵bruvzg
volumetric fog on MoltenVK.
2021-11-23Implemented AMD's FSR as a computer shader for upscaling 3D scenesJe06jm
2021-11-18Fix Depth-Prepass transparency modejfons
Add mising bits of implementation and ensure depth-prepass objects are only rendered in the transparency pass.
2021-11-17Merge pull request #55029 from clayjohn/VULKAN-SRGBRémi Verschelde
Add SHADER_IS_SRGB define to Vulkan renderer
2021-11-16Fix SRGB conversions in Vulkan Rendererclayjohn
2021-11-13Fix broken light_compute in mobile rendererYuri Roubinsky
2021-11-11Fix shader crashing when using `ALBEDO` or `ALPHA` in light functionYuri Roubinsky
2021-11-06Added SSIL post processing effectclayjohn
2021-10-29Weight glow samples to reduce firefliesclayjohn
2021-10-30Fix instance index in forward clustered shaderjfons
2021-10-28Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFogclayjohn
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-28Merge pull request #54350 from akien-mga/clang-format-dont-align-operandsRémi Verschelde
2021-10-28Merge pull request #54222 from JFonS/instance-fadeRémi Verschelde
2021-10-28clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-26Fix shadow disabling on mobile rendererJoan Fons
2021-10-25Fix shadow disabling settingsjfons
Fixes the SHADOW_CASTING_SETTING_OFF setting in GeometryInstance3D and the "shadows_disabled" render mode in spatial materials, which were not working before.
2021-10-25Implement distance fade and transparencyJFonS
The built-in ALPHA in spatial shaders comes pre-set with a per-instance transparency value. Multiply by it if you want to keep it. The transparency value of any given GeometryInstance3D is affected by: - Its new "transparency" property. - Its own visiblity range when the new "visibility_range_fade_mode" property is set to "Self". - Its parent visibility range when the parent's fade mode is set to "Dependencies". The "Self" mode will fade-out the instance when reaching the visibility range limits, while the "Dependencies" mode will fade-in its dependencies. Per-instance transparency is only implemented in the forward clustered renderer, support for mobile should be added in the future. Co-authored-by: reduz <reduzio@gmail.com>
2021-10-21Add Soft Very Low shadow quality mode for 3DHugo Locurcio
This can be used to improve 3D shadow rendering quality at little performance cost. Unlike the existing Hard setting which is limited to variable shadow blur only, it works with both fixed blur and variable blur.
2021-10-19Merge pull request #53790 from briansemrau/remove-distant-shadowy-voidRémi Verschelde
2021-10-14Remove incorrect fog height density remappingBrian Semrau
2021-10-14Fix several issues with directional shadowsBrian Semrau
- Internally disable blend splits in orthogonal directional shadow mode - Fix soft shadows ignoring fade and blend_splits - Fix soft shadow edge stability
2021-10-14Fix the height fog effectBrian Semrau
2021-10-11Fix shader crash on using METALLIC and ROUGHNESS built-ins in light funcYuri Roubinsky
2021-10-07Remove unimplemented `Environment.ambient_light_occlusion_color` propertyHugo Locurcio
This property was intended to provide a way to have SSAO or VoxelGI ambient occlusion with a color other than black. However, it was dropped during the Vulkan renderer development due to the performance overhead it caused when the feature wasn't used.