summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders
AgeCommit message (Collapse)Author
2022-11-18Merge pull request #68710 from BastiaanOlij/fix_vrsRémi Verschelde
Fix VRS issues
2022-11-17Finish implementing Canvas Background modeclayjohn
2022-11-17Fix VRS issuesBastiaan Olij
2022-11-15Merge pull request #68673 from clayjohn/RD-alpha-hashRémi Verschelde
Fix alpha hash by correcting typos and doing calculations in object space
2022-11-15Merge pull request #68487 from clayjohn/RD-mobile-rasterRémi Verschelde
Use raster versions of copy effects for 2D operations when using the mobile renderer
2022-11-14Fix alpha hash by correcting typos and doing calculations in object spaceclayjohn
2022-11-11Merge pull request #67746 from SonnyBonds/fix_cluster_shader_mvkRémi Verschelde
Fix cluster_render.glsl failing on some Macs
2022-11-11Merge pull request #67972 from and-rad/vector-field-consistencyRémi Verschelde
Fix inconsistency between vector field texture and world space directions
2022-11-10Use raster versions of copy effects for 2D operations when using the mobile ↵clayjohn
renderer This PR implements a few basic copy operations in raster that weren't available before
2022-10-31Merge pull request #67915 from RevoluPowered/fix-intel-macbook-crash-subgroupsRémi Verschelde
Ensure vulkan subgroups are disabled for MoltenVK
2022-10-27Fix ss_effects_flags uniform in clustered forward rendererclayjohn
This comes from an uncaught merge conflict resulting from the split of scene_data into scene_data and implementation_data
2022-10-27Merge pull request #66107 from devloglogan/ambient-light-disabled-fixClay John
Fix ambient_light_disabled render mode flag
2022-10-27Improved consistency between vector field texture and world spaceAndreas Raddau
2022-10-26Ensure vulkan subgroups are disabled for MoltenVKGordon MacPherson
We found they don't work on intel macbooks properly at all. Possible future solutions: - update to moltenvk. - update to spirv may resolve it.
2022-10-22Fix cluster_render.glsl failing on some MacsAnders Stenberg
Some Macs encounter an internal error when compiling cluster_render.glsl caused by a likely bug in the MVK/Metal compiler when using gl_HelperInvocation.
2022-10-18Code simplificationsMarkus Sauermann
1. Viewport::get_visible_rect().position is always zero. So Control::get_window_rect is identical to Control::get_global_rect. Remove Control::get_window_rect since it is not used in the source code. 2. sqrt(a * a) = abs(a) for doubles 3. Simplify affine_inverse combination 4. Simplify calculation in shaders
2022-10-13Merge pull request #67335 from clayjohn/GLES3-2d-lightsRémi Verschelde
Add 2D lights to OpenGL3 canvas renderer
2022-10-12Add 2D lights to OpenGL3 canvas rendererclayjohn
This is an initial implementation using the same single-pass approach as the RenderingDevice.
2022-10-13Fix volumetric fog not rendering at densities lower than or equal to 0.001Hugo Locurcio
This allows volumetric fog to render with the lowest density that can be specified in the inspector (0.0001).
2022-10-04Fixing artifacts in SSRBastiaan Olij
2022-10-02Update Instance flags in shaders to match instance flags in engineclayjohn
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 #66626 from danboo/fix-typo-run-debug-collisonsRémi Verschelde
Fix typos - "collison" -> "collision"
2022-09-29Fix typo - "collison" -> "collision"danboo
2022-09-28Clean up canvas light shader API.clayjohn
Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL. Add LIGHT_DIRECTION
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-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-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-19enabled ambient_light_disabled render mode flagLogan Lang
2022-09-15Extract shared scene data into a separate classBastiaan Olij
2022-09-15Merge pull request #65322 from ceLoFaN/fix-dof-artifact-at-high-blurRémi Verschelde
2022-09-14Merge pull request #65418 from JFonS/taa_multimeshClay John
Add motion vectors support for MultiMeshInstance
2022-09-13Move debanding into internal sky shader code so that it is applied after ↵clayjohn
everything else. This ensures that the debanding does not scale with exposure or any other effect.
2022-09-12Merge pull request #65544 from clayjohn/lambert-wrapRémi Verschelde
Apply energy conservation to LAMBERT_WRAP diffuse mode by dividing by PI
2022-09-12Apply energy conservation to LAMBERT_WRAP and TOON diffuse modes by dividing ↵clayjohn
by PI
2022-09-12Add motion vectors support for MultiMeshInstancejfons
Transparently handle changes in multimesh transforms so they get reflected in the motion vectors buffer.
2022-09-09Properly scale SSR reflection based on metallic value for dielectric materialsclayjohn
2022-09-05Fix DoF artifacting at high blur amountsceLoFaN
2022-09-01Merge pull request #60185 from Calinou/environment-fog-and-sky-affectRémi Verschelde
2022-09-01Add Environment properties to control fog rendering on background skyHugo Locurcio
Values lower than 1.0 can be used to make the fog rendering not fully obstruct the sky. This can be desired when using fog as a purely atmospheric effect, without intending to use fog for open world fog fading. When set to 0.0, fog rendering behavior will be similar to Godot 3.x where sky rendering was never affected by fog.
2022-09-01Extracting render buffers and changing it to a more generic solutionBastiaan Olij
2022-08-31Implement Physical Light Units as an optional setting.clayjohn
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.