summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
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-03Merge pull request #69514 from clayjohn/IBL-roughnessRémi Verschelde
Properly remap roughness when reading from radiance map
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-29Add Skeletons and Blend Shapes to the OpenGL rendererclayjohn
This uses a similar multipass approach to blend shapes as Godot 3.x, the major difference here is that we need to convert the normals and tangents to octahedral for rendering. Skeletons work the same as the Vulkan renderer except the bones are stored in a texture as they were in 3.x.
2022-11-22Fix parameters for hash_murmur3_one_32Markus Sauermann
In multiple locations in the codebase hash_murmur3_one_32 is used for generating hash values. Whenever a sequence of multiple hash-calculation happens within a single function, the previous hash value is always used as input in the following hash-calculations. The only exception is get_cache_multipass, where currently the previous hash value is overridden without utilizing it. This patch corrects that.
2022-11-22Merge pull request #68942 from Chaosus/barrier_mask_flagsRémi Verschelde
Expose `BarrierMask` as flags enum in `RenderingDevice`
2022-11-22Expose `BarrierMask` as flags enum in `RenderingDevice`Yuri Rubinsky
2022-11-21Code simplifications found by cppcheckMarkus Sauermann
They are based on: - Boolean arithmetic simplifications - setting variables that are not accessed - constant variables
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
2022-11-19fixed incorrect mesh normals in shadersAyush Singla
2022-11-18Merge pull request #68710 from BastiaanOlij/fix_vrsRémi Verschelde
Fix VRS issues
2022-11-17Finish implementing Canvas Background modeclayjohn
2022-11-16GLES3 TextureStorage - add missing null checksdzil123
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 #68426 from clayjohn/GLES3-particlesRémi Verschelde
Add GPUParticles to the OpenGL3 renderer.
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-15Merge pull request #68628 from clayjohn/shadowsRémi Verschelde
Implement is_animated and casts_shadows
2022-11-14Add GPUParticles to the OpenGL3 renderer.clayjohn
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
2022-11-14Fix alpha hash by correcting typos and doing calculations in object spaceclayjohn
2022-11-14Merge pull request #68339 from clayjohn/RD-shadow-acneRémi Verschelde
Scale light shadow bias by soft_shadow_scale to reduce shadow acne
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-14Merge pull request #61884 from Calinou/alpha-hash-use-opaque-pipelineRémi Verschelde
Use opaque rendering pipeline for alpha hash materials
2022-11-13Implement is_animated and casts_shadowsclayjohn
This allows the renderer to correctly decide when to update shadow maps This PR also adds TIME to a few missing places
2022-11-13Merge pull request #68574 from clayjohn/RD-shadow-timeRémi Verschelde
Properly set TIME shader uniform when rendering shadows
2022-11-12Properly set TIME shader uniform when rendering shadowsclayjohn
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-11Merge pull request #68496 from clayjohn/RD-pointRémi Verschelde
Ensure user shader is used in depth pass when point size is used
2022-11-11Merge pull request #68511 from clayjohn/RD-mobile-skyRémi Verschelde
Enable mipmaps in cubemap roughness shader
2022-11-11Merge pull request #68186 from pkdawson/expose-texture-rdRémi Verschelde
Expose texture_get_rd_texture for scripts
2022-11-11Merge pull request #67374 from MrBlockers/fix-draw-primitiveRémi Verschelde
Fix draw_primitive ignoring texture argument
2022-11-10Enable mipmaps in cubemap roughness shaderclayjohn
2022-11-10Ensure user shader is used in depth pass when point size is usedclayjohn
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-11-09Fix GPUParticles not rendering in doubles build of the engine.clayjohn
real_t was mistakenly used in uniform structs causing a mismatch between the GPU uniform and the CPU uniform
2022-11-08Request redraw in OpenGL3 and mobile renderers when TIME used in shaderclayjohn
2022-11-07Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`Hugo Locurcio
The property already has a "seconds" suffix in the inspector. The "lifetime" term makes it more obvious that the property is specified as time, not a distance in units. The property hint now allows manually entering values greater than 10 seconds. The internal rendering value's default now matches the particles nodes' default.
2022-11-06Scale light shadow bias by soft_shadow_scale to reduce shadow acne on high ↵clayjohn
quality settings
2022-11-04Add call_deferred() method to Callablekobewi
2022-11-03Collapse three seperate texture storage methods into ↵David Snopek
render_target_set_override()
2022-11-03Expose texture_get_rd_texturePatrick Dawson
2022-11-03Merge pull request #67878 from clayjohn/RD-particles-amountRémi Verschelde
Correctly set number of particle dispatches when setting view axis
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Merge pull request #67639 from clayjohn/GLES3-2d-shadowsRémi Verschelde
Add 2D shadows and canvas SDF to OpenGL3 renderer
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67907 from clayjohn/RD-model-matrixRémi Verschelde
Correctly rename to read_model_matrix when using shader builtins that rely on model matrix