summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-08Merge pull request #67051 from clayjohn/CanvasGroup-clearRémi Verschelde
Allow clearing backbuffer after finishing CanvasGroup
2022-10-07Allow clearing backbuffer after finishing CanvasGroupclayjohn
This avoids an issue where having multiple CanvasGroups overlap would create a weird artifact
2022-10-07Fix material overlay overriding shadow casting logicclayjohn
Material overlay should only cast a shadow if it can cast a shadow and the instance can cast a shadow
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-07Merge pull request #66861 from clayjohn/GLES3-mono-uboRémi Verschelde
Use a giant UBO to optimize performance in 2D [OpenGL3]
2022-10-06Merge pull request #66756 from BastiaanOlij/fix_ssrRémi Verschelde
Fixing artifacts in SSR
2022-10-06Use a giant UBO to optimize performance in 2Dclayjohn
This removes the countless small UBO writes we had before and replaces them with a single large write per render pass. This results in much faster rendering on low-end devices but improves speed on all devices.
2022-10-05Merge pull request #66922 from BastiaanOlij/fix_direct_shadowRémi Verschelde
Make sure atlas rect for directional lights is calculated using floats
2022-10-05Make sure atlas rect for directional lights is calculated using floatsBastiaan Olij
2022-10-05Merge pull request #66683 from clayjohn/SRGB-canvasitemRémi Verschelde
Default CanvasItem materials to use sRGB space for uniform colors
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-05Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-10-04Fixing artifacts in SSRBastiaan Olij
2022-10-04Merge pull request #66780 from dsnopek/webxr-emulator-fixRémi Verschelde
Fix rendering in the WebXR emulator
2022-10-04Moving SSEffects settings into classBastiaan Olij
2022-10-04Move cluster builder, sdfgi and gi structures to clustered renderer, move ↵Bastiaan Olij
light and probe elements into storage and reorganise our render_scene method.
2022-10-03Fix global uniform crash at editor startupYuri Rubinsky
2022-10-02Update Instance flags in shaders to match instance flags in engineclayjohn
2022-10-02Fix rendering in the WebXR emulatorDavid Snopek
2022-09-30Default CanvasItem materials to not convert uniform colors to linear space.clayjohn
The 2D renderer in Godot is totally in sRGB space so it is appropriate to keep 2D uniform colors in sRGB space
2022-09-30Fix typos with codespellRémi Verschelde
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
2022-09-30Merge pull request #66178 from clayjohn/double-precision-renderingRémi Verschelde
Emulate double precision for regular rendering operation when REAL_T_IS_DOUBLE
2022-09-30Merge pull request #66638 from timothyqiu/rendering-nullRémi Verschelde
Add various null checks in RenderingServer
2022-09-30Merge pull request #66626 from danboo/fix-typo-run-debug-collisonsRémi Verschelde
Fix typos - "collison" -> "collision"
2022-09-30Add various null checks in RenderingServerHaoyu Qiu
2022-09-29Fix typo - "collison" -> "collision"danboo
2022-09-29Merge pull request #66583 from bruvzg/constexprRémi Verschelde
Use `constexpr` in the conditions with template parameters and `sizeof`s to suppress C4127 warnings.
2022-09-29Merge pull request #66565 from clayjohn/canvas-lightsRémi Verschelde
Clean up canvas light shader API.
2022-09-29Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵bruvzg
suppress C4127 warnings.
2022-09-28Merge pull request #66548 from akien-mga/msvc-warnings-c4701-c4703Rémi Verschelde
Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used
2022-09-28Clean up canvas light shader API.clayjohn
Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL. Add LIGHT_DIRECTION
2022-09-28Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable usedRémi Verschelde
2022-09-28Fix MSVC warning C4702: unreachable codeRémi Verschelde
Part of #66537.
2022-09-27Merge pull request #66466 from clayjohn/FXAA-fixRémi Verschelde
Take FXAA samples from half-pixel coordinates to improve quality
2022-09-27Merge pull request #66370 from bitbrain/fix-light2d-blend-modesRémi Verschelde
Fix broken 2D light blending, addresses #49922
2022-09-27Merge pull request #66317 from clayjohn/debanding-bugRémi Verschelde
Move deband to end of tonemapping.
2022-09-26Take FXAA samples from half-pixel coordinates to improve qualityclayjohn
2022-09-26Add defines to completion list in shadersYuri Rubinsky
2022-09-26Merge pull request #66394 from bitbrain/fix-unshaded-canvas-modulateRémi Verschelde
Fix Unshaded CanvasItem for Vulkan
2022-09-26Make dependencies with shader includes in subfoldersBastiaan Olij
2022-09-25do not apply modulate on canvas when unshaded is setMiguel Gonzalez Sanchez
2022-09-24fix broken 2D light blending, addresses #49922Miguel Gonzalez Sanchez
2022-09-23Move deband to end of tonemapping.clayjohn
This avoids artifacts when using adjustments and color correction
2022-09-23Merge pull request #66284 from clayjohn/particles-mem-bugRémi Verschelde
Properly initialize motion vectors offset when motion vectors are disabled
2022-09-22Properly initialize motion vectors offset when motion vectors are disabled.clayjohn
This fixes an uninitialized memory bug that caused particles to fail in non-LTO builds
2022-09-22Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1Rémi Verschelde
Not sure why I didn't get those before, it may be due to upstream changes (12.2.1 is a moving target, it's basically 12.3-dev), or simply rebuilding Godot from scratch with different options.
2022-09-20Emulate double precision for regular rendering operation.clayjohn
We calculate the lost precision on the CPU and pass it into the GPU so that it can calculate an error-corrected version of the vertex position
2022-09-20Merge pull request #65541 from clayjohn/renderer-settingRémi Verschelde
Split rendering driver project setting into renderer_name and rendering_driver