summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2021-08-13Merge pull request #51025 from reduz/fix-directional-shadow-biasRémi Verschelde
Fix directional shadow bias
2021-08-13Merge pull request #51609 from Chaosus/shader_fix_varying_errorYuri Roubinsky
Fix shader crash when using local var with the same name as varying
2021-08-13Fix shader crash when using local var with the same name as varyingYuri Roubinsky
2021-08-12Merge pull request #51580 from aaronfranke/particles-real-doubleRémi Verschelde
Use real_t and double where appropriate in Particles
2021-08-12Use real_t and double where appropriate in ParticlesAaron Franke
2021-08-12Use nearest mipmaps for both minification and magnificationHugo Locurcio
This is generally the expected behavior when using a nearest + mipmaps mode, as it's often used for pixel art games.
2021-08-12Removes an internal error report if shader fails compileYuri Roubinsky
2021-08-12Merge pull request #51533 from Calinou/fix-nearest-mipmap-filterRémi Verschelde
Fix the Use Nearest Mipmap Filter project setting not working
2021-08-12Fix CPUParticles2D disappearance after amount changefloppyhammer
2021-08-12Fix the Use Nearest Mipmap Filter project setting not workingHugo Locurcio
The project setting wasn't being used anywhere. This also tweaks the property hints to denote that these properties are only effective after a restart.
2021-08-11Merge pull request #51486 from reduz/fixes-to-mobile-rendererRémi Verschelde
Fixes and optimizations to mobile renderer
2021-08-10Use f0 instead of albedo in blinn and phongclayjohn
2021-08-10Fixes and optimizations to mobile rendererreduz
* Only apply final actions to attachments used in the last pass. * Fixes to draw list final action (was using continue instead of read/drop). * Profiling regions inside draw lists now properly throw errors. * Ability to enable gpu profile printing from project settings. (used to debug).
2021-08-10Merge pull request #51411 from clayjohn/VULKAN-blinn-phongRémi Verschelde
[4.0] Make Blinn and Phong specular modes take albedo into account
2021-08-10Merge pull request #50682 from aaronfranke/basis-looking-atRémi Verschelde
Move code for looking_at to Basis
2021-08-10Merge pull request #51436 from Calinou/tonemap-clamp-negative-colorsRémi Verschelde
Clamp negative colors regardless of the tonemapper to avoid artifacts
2021-08-10Merge pull request #51417 from clayjohn/Vulkan-horizon-soRémi Verschelde
Add horizon specular occlusion
2021-08-09Make Blinn and Phong specular modes PBRclayjohn
2021-08-09Use doubles for time in many other placesAaron Franke
2021-08-09Clamp negative colors regardless of the tonemapper to avoid artifactsHugo Locurcio
Color artifacts could be visible when using negative lights with the Filmic and ACES tonemapping operators, as these did not clamp negative colors.
2021-08-09Merge pull request #43158 from nathanfranke/fix-gradient-and-draw-tileRémi Verschelde
Fix Gradient and Color Picker checkerboard, Fix tile parameter for CanvasItem.draw_texture_rect
2021-08-09Merge pull request #51155 from Chaosus/shader_fix_specular_modeRémi Verschelde
Fix a default shader specular render mode to `SCHLICK_GGX`
2021-08-08Add horizon specular occlusionclayjohn
2021-08-07Fix Gradient, Color Picker BG, Fix CanvasItem::draw_texture_rect p_tileNathan Franke
2021-08-06Merge pull request #51309 from Chaosus/fix_uniform_error_spamRémi Verschelde
Fix incorrect checking of uniform set to prevent error spam
2021-08-06Use subpasses to do 3D rendering and resolve in mobile rendererBastiaan Olij
2021-08-06Fix a default shader specular render mode to (`SCHLICK_GGX`/`BLINN`)Yuri Roubinsky
2021-08-06Fix incorrect checking of uniform set to prevent error spamYuri Roubinsky
2021-08-01Merge pull request #50942 from BastiaanOlij/cubemap_rasterRémi Verschelde
Porting cubemap compute shaders to raster for the mobile renderer
2021-08-01Move code for looking_at to BasisAaron Franke
2021-08-01Porting cubemap compute shaders to raster for the mobile rendererBastiaan Olij
2021-07-31Fix 'Attempted to remove invalid ID' errorsRafał Mikrut
2021-07-29Fix directional shadow biasreduz
* Simplified code a lot, bias based on normalized cascade size. * Lets scale cascades, max distance, etc. without creating acne. * Fixed normal biasing in directional shadows. I removed normal biasing in both omni and spot shadows, since the technique can't be easily implemented there. Will need to be replaced by something else.
2021-07-26Merge pull request #50891 from Vitika9/50852Hugo Locurcio
Removed redundant assignment of `blur_pipeline`
2021-07-26Merge pull request #50847 from reduz/implement-binary-shader-compilationRémi Verschelde
Implement Binary Shader Compilation
2021-07-26Fixed coding stylevitika9
2021-07-26Fix expression in `cluster_builder_rd.h`Nicholas Huelin
This expression should now work as intended.
2021-07-26Implement Binary Shader Compilationreduz
* Added an extra stage before compiling shader, which is generating a binary blob. * On Vulkan, this allows caching the SPIRV reflection information, which is expensive to parse. * On other (future) RenderingDevices, it allows caching converted binary data, such as DXIL or MSL. This PR makes the shader cache include the reflection information, hence editor startup times are significantly improved. I tested this well and it appears to work, and I added a lot of consistency checks, but because it includes writing and reading binary information, rare bugs may pop up, so be aware. There was not much of a choice for storing the reflection information, given shaders can be a lot, take a lot of space and take time to parse.
2021-07-26Merge pull request #50856 from SirQuartz/patch-32Rémi Verschelde
Fix always true expression `radius > 0.98 || radius < 1.02` in `cluster_builder_rd.h`
2021-07-25Fix always true expression in `cluster_builder_rd.h`Nicholas Huelin
This pull request fixes an issue where an expression would always evaluate to `true` no matter what.
2021-07-25Fix various typosluz paz
Follow-up typos found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25Merge pull request #50809 from akien-mga/iterators-const-referencesRémi Verschelde
2021-07-25Merge pull request #50250 from luzpaz/typosRémi Verschelde
Fix various typos
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-25Merge pull request #50644 from BastiaanOlij/mobile_compute_to_fragmentRémi Verschelde
2021-07-25Fix various typos with codespellluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,fave,findn,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint`
2021-07-25Use fragment shader instead of compute shader for effects for mobile rendererBastiaan Olij
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-20Merge pull request #50537 from Calinou/improve-shader-error-output-2Rémi Verschelde
Add error marking to the shader error console output
2021-07-20Merge pull request #50605 from Calinou/tweak-shader-code-styleRémi Verschelde
Use C++11 raw literals for shader code to improve readability