summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2022-12-01Merge pull request #69430 from Rindbee/fix-clip-contentsRémi Verschelde
Fix child nodes still being drawn when the visible area of a control with `clip_contents` enabled is `0`
2022-12-01Fix child nodes still being drawn when the visible area of a control with ↵Rindbee
`clip_contents` enabled is `0`
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-26Changed `RenderingDevice::TextureUsageBits` type to enum flagsYuri Rubinsky
2022-11-24Add MAKE_RESOURCE_TYPE_HINT macro to simplify binding arrays of resourcesRémi Verschelde
2022-11-23Merge pull request #69005 from akien-mga/shaderlang-sampler-uniforms-array-typeRémi Verschelde
Shader: Set proper resource type hints for sampler uniforms
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-22Shader: Set proper resource type hints for sampler uniformsRémi Verschelde
Supersedes #64383.
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-21Merge pull request #68527 from pkdawson/vertex-array-offsetsRémi Verschelde
Add `offsets` parameter to RenderingDevice::vertex_array_create
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 #68876 from dzil123/renderdummy_texture_replace_null_checkRémi Verschelde
RenderDummy::TextureStorage::texture_replace add missing null check
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-18RenderDummy::TextureStorage::texture_replace add missing null checkdzil123
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-18Merge pull request #68808 from CherrySodaPop/global-instance-uniformYuri Rubinsky
2022-11-17Fix global uniforms parsed as instance uniformLily Garcia
2022-11-17Finish implementing Canvas Background modeclayjohn
2022-11-17Merge pull request #68779 from dzil123/fix_renderdummy_mesh_surface_overflowRémi Verschelde
RendererDummy - Fix buffer overflow due to stale mesh_get_surface
2022-11-17RendererDummy fix buffer overflow due to mesh_get_surfacedzil123
2022-11-16GLES3 TextureStorage - add missing null checksdzil123
2022-11-17Fix VRS issuesBastiaan Olij
2022-11-16Merge pull request #68718 from dzil123/fix_fog_shader_buffer_overflowRémi Verschelde
Fix shader compiler asan out of bounds
2022-11-15Mark shader built-ins as used when passed to functions as out parameter Yuri Rubinsky
2022-11-15Fix Fog shader buffer overflowdzil123
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-11Add `offsets` parameter to RenderingDevice::vertex_array_createPatrick Dawson
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 #68235 from pkdawson/pr-expose-vertex-array-createRémi Verschelde
Expose RenderingDevice::vertex_array_create to scripting
2022-11-11Merge pull request #67374 from MrBlockers/fix-draw-primitiveRémi Verschelde
Fix draw_primitive ignoring texture argument
2022-11-11Merge pull request #68425 from clayjohn/RD-doubles-particlesRémi Verschelde
Fix GPUParticles not rendering in doubles build of the engine.
2022-11-10Enable mipmaps in cubemap roughness shaderclayjohn