summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/shaders
AgeCommit message (Collapse)Author
2023-05-12Use proper UV in cubemap downsampler rasterclayjohn
This removes bias in cubemap downsampling shader that resulted in the bottom of cubemaps being over represented (cherry picked from commit fb77021559c42d5512f12baa07dcf94c47b7ab15)
2023-04-27Fix unsupported sampler filter used for voxel GIPedro J. Estébanez
(cherry picked from commit 09aa1bbdb3c9dc4891a192854636a4e33ccd46bc)
2023-04-24Use MODELVIEW_MATRIX for vertex transform when double precision is enabledJoão Pedro Braz
This commit updates the double precision vertex transform code from using the MODEL_MATRIX to now use the MODELVIEW_MATRIX instead. This can be made possible by transforming the MODELVIEW_MATRIX back into model space (ie, same space as the MODEL_MATRIX) and then using it as if it were the MODEL_MATRIX. With this in place we now properly handle VERTEX transformations that a Material Shader might do, such as billboard-ing. (cherry picked from commit 63c6f0b93ccc0f016b6b6ff7833c31371059a782)
2023-04-24Translate inactive particles to -INFErik Johnson
(cherry picked from commit 6229c2a1f99135b841ce43f2728b4ac35a9b1938)
2023-04-07Fix the limit for interpolation of R0 with respect to metallic and SSRmightygoat
Shlick term (cherry picked from commit 2c000cb72fc04fd76c5d3b6bc53955f83bf50c71)
2023-03-27fix spotlight shadows in volumetric fogRandomCatDude
(cherry picked from commit 59c31004f8c6feed601f2bfeedb86959563a4ef0)
2023-02-21Increase SSAO and SSIL bias to account for variance in mipmap generationclayjohn
2023-02-16Fix sampling bug when SSAO is using half sizeclayjohn
2023-02-10Add render buffer support to screen space effectsBastiaan Olij
2023-02-01Merge pull request #72485 from BastiaanOlij/add_eye_matrix_accessRémi Verschelde
Expose EYE_OFFSET to gdshader code
2023-02-01Merge pull request #72075 from Maran23/extents-to-sizeRémi Verschelde
Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and GPUParticles*3D
2023-02-01Expose EYE_OFFSET to gdshader codeBastiaan Olij
2023-01-31Replace Extents with Size in VoxelGI, ReflectionProbe, FogVolume, Decal and ↵Marius Hanl
GPUParticles*3D - Extents are replaced by Size (Size is Extents * 2) - The UI text displays 'Size' - Snapping is adjusted to work with Size - _set and _get handle extents for compatibility Co-authored-by: ator-dev <dominic.codedeveloper@gmail.com>
2023-01-27Automatically transform Skeleton2D calculations so pivots are not neededclayjohn
2023-01-26Merge pull request #71455 from BastiaanOlij/fix_stereo_screen_depthRémi Verschelde
Make screen texture and depth texture work in Multiview
2023-01-25Make screen texture and depth texture work in MultiviewBastiaan Olij
2023-01-24Merge pull request #71832 from Geometror/fix-spotlight-artifactsRémi Verschelde
Fix some `SpotLight3D` issues (clustering artifacts, leaking light, AABB)
2023-01-24Fix some SpotLight3D issues (clustering artifacts, light leak)Hendrik Brucker
2023-01-23Merge pull request #71694 from clayjohn/VoxelGI-reflectionRémi Verschelde
Use proper space for forward GI reflections
2023-01-23Convert en_GB spelling to en_US with codespellRémi Verschelde
2023-01-22Fix DirectionalLight3D shadow opacity on Forward Mobile rendering backendHugo Locurcio
2023-01-19Use proper space for forward GI reflectionsclayjohn
2023-01-18Remove SCREEN_TEXTURE, DEPTH_TEXTURE, and NORMAL_ROUGHNESS_TEXTUREclayjohn
in favour of texture hints
2023-01-14fix normal map not flipping in sprite2Djainl28patel
2023-01-12Merge pull request #71130 from clayjohn/RD-normal-roughnessRémi Verschelde
Fix multiple issues that make the normal roughness texture unusable
2023-01-09Fix multiple issues that make the normal roughness texture unusableclayjohn
2023-01-07Move luminance effect into its own class and use new buffers systemBastiaan Olij
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-04Use proper indices for lights, decals, and reflection probes in mobile scene ↵clayjohn
shader
2022-12-23Merge pull request #70253 from BastiaanOlij/cleanup_sky_renderRémi Verschelde
Cleanup and improve sky render
2022-12-23Cleanup and improve sky renderBastiaan Olij
2022-12-22Check for disabled particle trail particle before initializing particle trailclayjohn
2022-12-21Disable particle trails particles when parent parent is not active.clayjohn
2022-12-17Merge pull request #70122 from clayjohn/VRS-r8uintRémi Verschelde
Don't attempt to create or use an R8_UINT texture as storage if VRS is not supported
2022-12-16Don't attempt to create or use an R8_UINT texture as storage if VRS is not ↵clayjohn
supported
2022-12-15Merge pull request #56804 from Calinou/ssr-add-max-roughness-cutoffRémi Verschelde
Add maximum roughness cutoff to SSR to improve performance
2022-12-13Merge pull request #70009 from clayjohn/glow-hqRémi Verschelde
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13Merge pull request #70003 from clayjohn/GLES3-ccRémi Verschelde
Various fixes and documentation for CanvasGroup
2022-12-13Various fixes and documentation for CanvasGroupclayjohn
Properly apply custom materials with CanvasGroups in the GLES3 backend Properly blur backbuffer when using a partial rect in forward_plus and gl_compatibility renderers Properly set fit_margin when clear_margin is set Fix shader error during backbuffer clear in mobile renderer
2022-12-13Remove high quality glow as it is not any higher quality than regular glowclayjohn
2022-12-13Merge pull request #69985 from clayjohn/mobile-rimRémi Verschelde
Ensure that rim lighting uses an exponent base greater than zero
2022-12-12Ensure that rim lighting uses a exponent base greater than zeroclayjohn
This avoids the undefined behavior that happens if the base is zero and the exponent is zero
2022-12-10Add maximum roughness cutoff to SSR to improve performanceHugo Locurcio
In a test scene with mixed rough and non-rough materials, this saves upwards of 0.15 ms of GPU time with very little visual artifacting (GTX 1080, 2560×1440).
2022-12-09Fade out SSR with roughness so that it doesn't show at high roughness amountsclayjohn
2022-12-03Implement CAMERA_VISIBLE_LAYERS as built-in shader variableNumbuhFour
2022-12-03Merge pull request #69522 from clayjohn/IBL-black-metalRémi Verschelde
Allow black metallic materials to reflect IBL
2022-12-02Allow black metallic materials to reflect IBLclayjohn
2022-12-02Properly remap roughness when reading from radiance mapclayjohn
This ensures that we consistently use perceptual roughness which matches the behaviour of most other PBR renderers like Blender, Ue4 and Godot 3
2022-11-20Merge pull request #68830 from Ayush-singla27/issuebranchRémi Verschelde
fixed incorrect mesh normals in shaders
2022-11-18Fix drawing of 2D skeletons in the RD renderer.clayjohn
Also clean up skeleton code in preparation for adding them to GLES3 Properly update Mesh2D AABBs when skeleton is updated