summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2021-09-05Fix depth pass for shaders that set POSITIONDaniel Doran
2021-08-31Merge pull request #51873 from Chaosus/fix_uniform_error_spamClay John
Fix incorrect checking of uniform set to prevent error spam (2)
2021-08-27Merge pull request #51908 from bruvzg/msdf_fonts2K. S. Ernest (iFire) Lee
Make FontData importable resource. Add multi-channel SDF font rendering.
2021-08-27Merge pull request #52092 from Calinou/voxelgi-remove-anisotropic-leftoversJuan Linietsky
Remove leftovers of anisotropy in the VoxelGI shader code
2021-08-27Makes FontData importable resource.bruvzg
Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
2021-08-26Optionally scale 3D render contentBastiaan Olij
2021-08-26Merge pull request #50883 from BastiaanOlij/mobile_hdrBastiaan Olij
Scale color output in the mobile renderer to provide HDR support
2021-08-25Merge pull request #51821 from Calinou/builtin-shaders-add-commentsJFonS
Add comments at the top of each built-in shader to ease debugging
2021-08-25Remove leftovers of anisotropy in the VoxelGI shader codeHugo Locurcio
Anisotropy support was removed when VoxelGI was reworked as it was too demanding on the GPU.
2021-08-23Merge pull request #51971 from aaronfranke/httpsMax Hilbrunner
Replace HTTP URLs with HTTPS for sites with HTTPS versions
2021-08-23Merge pull request #51947 from AnilBK/redundant-assignmentsMichael Alexsander
[cppcheck] Remove some redundant assignments.
2021-08-23Scale color output in the mobile renderer to provide HDR supportBastiaan Olij
2021-08-23Merge pull request #51980 from BastiaanOlij/fix_multiview_tonemapBastiaan Olij
Fix multiview defines in tonemap shader
2021-08-22Replace HTTP links with HTTPS for sites with HTTPS versionsAaron Franke
2021-08-22Fixed non-uniform scaling of normalsDuarte David
2021-08-22Fix multiview defines in tonemap shaderBastiaan Olij
2021-08-21Remove redundant assignments.Anilforextra
Use used_in_transfer instead of used_in_compute twice.
2021-08-19Improvements to SpotLight3D and OmniLight3D's shadowsjfons
OmniLight3D: * Fixed lack of precision in cube map mode by scaling the projection's znear. * Fixed aliasing issues by making the paraboloids use two square regions instead of two half squares. * Fixed shadowmap atlas bleeding by adding padding. * Fixed sihadow blur's inconsistent radius and unclamped sampling. SpotLight3D: * Fixed lack of precision by scaling the projection's znear. * Fixed normal biasing. Both: * Tweaked biasing to make sure it works out of the box in most situations.
2021-08-19Fix incorrect checking of uniform set to prevent error spam (2)Yuri Roubinsky
2021-08-18More fixes to mobile rendererreduz
* Specify all precision qualifiers * Makes renderer work on Adreno Vulkan
2021-08-18Add comments at the top of each built-in shader to ease debuggingHugo Locurcio
When a shader error is printed about a built-in shader, the origin of the shader will now be recognizable immediately by looking at the top of the printed shader code.
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-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.