summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2021-08-17Fixes to mobile rendererreduz
* Make sure shaders are named, to aid in debug in case of failure * SceneRenderRD was being wrongly initialized (virtual functions being called when derivative class not initialized). * Fixed some bugs resulting on the above being corrected.
2021-08-17Fix incorrect uniform buffer size for particlesYuri Roubinsky
2021-08-16Merge pull request #51635 from reduz/further-mobile-optimizationsJuan Linietsky
More optimizations on the mobile renderer.
2021-08-16Makes a clear error message if shader compilation failedYuri Roubinsky
2021-08-16Moved disabling bokeh shader variants to before the version_create callBastiaan Olij
2021-08-15Fix read from screen and depth textureBastiaan Olij
2021-08-14Merge pull request #50998 from BastiaanOlij/single_bokeh_dof_rasterRémi Verschelde
Rewrote raster DOF shader to using BOKEH
2021-08-13More optimizations on the mobile renderer.reduz
* Specialization constants used to disable anything not needed to draw * Added softshadow and projector support on mobile. This new approach ensures mobile shaders are smaller and more efficient, but relies on more pipeline versions compiled on demand. As a result, random stalls can ocur like in Godot 3.x. These will be solved by using background compilation and fallbacks eventually (but needs to be tested first).
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-13Implemented raster versions of bokeh shaders to replace broken gaussian ↵Bastiaan Olij
implementation
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-12Merge pull request #51391 from Chaosus/shader_param_namesRémi Verschelde
Added parameter names to shader built-in function autocompletion
2021-08-12Added parameter names to shader built-in function autocompletionYuri Roubinsky
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-11Merge pull request #51505 from Chaosus/shader_fix_shadetype-errorlineYuri Roubinsky
2021-08-11Break futher shader compilation after missing `;` after`shader_type`Yuri Roubinsky
2021-08-11Allow using more assignment operators on matrixes in shadersYuri Roubinsky
2021-08-11Fix shader crash when using varying array in fragment->light contextYuri Roubinsky
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 #51017 from vnen/extension-fixesRémi Verschelde
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 #51467 from Chaosus/fix_aaRémi Verschelde
Fix incorrect border width of antialiased lines
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-10Fix incorrect border width of antialiased linesYuri Roubinsky
2021-08-09Make Blinn and Phong specular modes PBRclayjohn
2021-08-09Some work on double supportAaron Franke
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-07Added editor dialog for easily creating shaders.Yuri Roubinsky
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-05Fix a few default parameters in bindingsGeorge Marques
They have the wrong type and cause issues with extensions.
2021-08-01Merge pull request #50942 from BastiaanOlij/cubemap_rasterRémi Verschelde
Porting cubemap compute shaders to raster for the mobile renderer