summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2022-07-14Merge pull request #62947 from BastiaanOlij/fix_mesh_instance_freeRémi Verschelde
2022-07-13Rename soft shadow quality project settings for easier searchingHugo Locurcio
`rendering/quality/shadows` is now `rendering/quality/positional_shadow` to explicitly denote that the settings only affect positional light shadows, not directional light shadows. Shadow atlas settings now contain the word "atlas" for easier searching. Soft shadow quality settings were renamed to contain the word "filter". This makes the settings appear when searching for "filter" in the project settings dialog, like in Godot 3.x.
2022-07-12Fix typo, call mesh_instance_free not mesh_freeBastiaan Olij
2022-07-09Fix dead link in TAA resolve shader commentHugo Locurcio
Spartan Engine has recently removed its own internal TAA in favor of FSR 2.0. The link has been changed to point to a fixed commit, so the link will keep working as long as the repository exists.
2022-07-08Account for relative z-indexes when y-sortingXentripetal
2022-07-08Merge pull request #62277 from RandomShaper/depth_buffer_no_samplingRémi Verschelde
Rationalize certain cases of texture usage flags
2022-07-06Prevent possible crash when mesh is freedYuri Rubinsky
2022-07-06Remove Octreelawnjelly
Octree is no longer used in 4.x.
2022-07-06Merge pull request #62344 from BastiaanOlij/extract_dependenciesRémi Verschelde
2022-07-06Remove unused anisotropy setter/getter methods in VoxelGIHugo Locurcio
These methods weren't exposed to the scripting API. Anisotropy was used in earlier iterations of VoxelGI, but it was removed as it was too expensive.
2022-07-02SCons: Properly track codegen script dependency for generated GLSL headersRémi Verschelde
2022-07-01Remove debugging print following GI reorganizationHugo Locurcio
2022-06-28Merge pull request #62482 from JFonS/fix_crash_canvas_modeRémi Verschelde
2022-06-28Merge pull request #60935 from Calinou/geometryinstance3d-gi-mode-default-staticRémi Verschelde
Use the Static global illumination mode in GeometryInstance3D by default
2022-06-28Fix crash in Environment "Canvas" background mode.JFonS
2022-06-28Merge pull request #62467 from RandomShaper/descriptor_rw_mattersRémi Verschelde
Consider uniform writability part of the interface of the set
2022-06-27Fixed FSR. Before, it was commiting theJe06jm
raw render to the screen. Now, it commits the fsr upscaled image
2022-06-27Consider uniform writability part of the interface of the setPedro J. Estébanez
2022-06-28Split dependency logicBastiaan Olij
Split FOG Split visibility notifier Final cleanup of storage classes
2022-06-27Rationalize certain cases of texture usage flagsPedro J. Estébanez
- Check for exhaustive usage flags for depth buffer - Remove uneeded storage flag from normal-roughness buffer
2022-06-26Fix typo in roughness shadersBastiaan Olij
2022-06-24Moved cube_to_dp and cubemap logic into CopyEffectsBastiaan Olij
2022-06-23Use the Static global illumination mode in GeometryInstance3D by defaultHugo Locurcio
This makes VoxelGI and SDFGI work out of the box with primitive meshes, loaded OBJ meshes and CSG nodes.
2022-06-23Merge pull request #61221 from BastiaanOlij/split_gi_effectsRémi Verschelde
2022-06-22Merge pull request #35758 from zmanuel/eliminate-draw-pendingRémi Verschelde
Remove redundant thread sync counter draw_pending
2022-06-22Merge pull request #62286 from JFonS/taa_global_timeRémi Verschelde
2022-06-22Merge pull request #62305 from JFonS/taa_molten_mobile_workaroundRémi Verschelde
2022-06-22Move TIME to a global shader variablejfons
This makes it work consistently for motion vectors in all functions, including user-defined ones.
2022-06-22Workaround MoltenVK shader conversion errorJFonS
2022-06-22Split GI effects and fix stereoscopic rendering of GI effectsBastiaan Olij
2022-06-21Merge pull request #62122 from reduz/implement-movie-writerRémi Verschelde
Implement a Movie Maker mode
2022-06-21Implement Running Godot as Movie Writerreduz
* Allows running the game in "movie writer" mode. * It ensures entirely stable framerate, so your run can be saved stable and with proper sound (which is impossible if your CPU/GPU can't sustain doing this in real-time). * If disabling vsync, it can save movies faster than the game is run, but if you want to control the interaction it can get difficult. * Implements a simple, default MJPEG writer. This new features has two main use cases, which have high demand: * Saving game videos in high quality and ensuring the frame rate is *completely* stable, always. * Using Godot as a tool to make movies and animations (which is ideal if you want interaction, or creating them procedurally. No other software is as good for this). **Note**: This feature **IS NOT** for capturing real-time footage. Use something like OBS, SimpleScreenRecorder or FRAPS to achieve that, as they do a much better job at intercepting the compositor than Godot can probably do using Vulkan or OpenGL natively. If your game runs near real-time when capturing, you can still use this feature but it will play no sound (sound will be saved directly). Usage: $ godot --write-movie movie.avi [scene_file.tscn] Missing: * Options for configuring video writing via GLOBAL_DEF * UI Menu for launching with this mode from the editor. * Add to list of command line options. * Add a feature tag to override configurations when movie writing (fantastic for saving videos with highest quality settings).
2022-06-20Clean up Hash Functionsreduz
Clean up and do fixes to hash functions and newly introduced murmur3 hashes in #61934 * Clean up usage of murmur3 * Fixed usages of binary murmur3 on floats (this is invalid) * Changed DJB2 to use xor (which seems to be better)
2022-06-18Merge pull request #62106 from BastiaanOlij/eye_offsetRémi Verschelde
Introduce eye_offset for correcting stereoscopic reflections
2022-06-17Introduce eye_offset for correcting stereoscopic reflectionsBastiaan Olij
Use view instead of vertex for reflections.
2022-06-15Fix glow in Mix mode not working correctly when FXAA is enabledHugo Locurcio
Glow must be performed after FXAA to ensure correct appearance.
2022-06-14Remove GLES2 shader constraints from GLES3clayjohn
2022-06-13Tweak Light3D property hints for greater flexibilityHugo Locurcio
- Specular can now be set above 1.0. - Blur can be set to 0 to disable shadow blurring entirely, which is useful on lights that have a non-zero size. - When shadow blurring is disabled, lights that have a non-zero size will not use PCSS-like soft shadows, speeding up shadow rendering considerably. - Some property hints now allow more precise values.
2022-06-10Prevent defining float constant without number after exponent in shadersYuri Rubinsky
2022-06-09Fix incorrect sky rotation based on camera axisYuri Rubinsky
2022-06-09Fix `TIME` compilation for custom functions in spatial shaderYuri Rubinsky
2022-06-09Workaround MoltenVK error found in TAA implementationjfons
2022-06-08Assign VIEWPORT_SIZE after validating screen_size to avoid crash when using ↵clayjohn
ReflectionProbe
2022-06-08Merge pull request #61794 from clayjohn/VULKAN-viewport-sizeRémi Verschelde
Use RenderBuffer size instead of half extents for VIEWPORT_SIZE
2022-06-07Use RenderBuffer size instead of half extents for VIEWPORT_SIZE in Vulkan ↵clayjohn
spatial shaders
2022-06-07Initial TAA implementationjfons
Initial TAA support based on the implementation in Spartan Engine. Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-06-03Merge pull request #61554 from Chaosus/shader_fix_hintsRémi Verschelde
2022-06-01Ensure has_os_features is safely called as it can't be called from within ↵Bastiaan Olij
the construct of RenderingServerDefault on which it relies
2022-05-31Merge pull request #61572 from clayjohn/ssao-licenseRémi Verschelde
2022-05-31Add and improve license attribution for SSAO and SSIL shader codeclayjohn