summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2022-05-21Add timestamps to some rendering effectstrollodel
2022-05-21Merge pull request #61214 from somnathsarkar/particle-attractor-fixRémi Verschelde
Fix GPUParticles3D disappearance at attractor origins
2022-05-20Fix GPUParticles3D disappearance at attractor originsSomnath Sarkar
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-20Fix normal and tangent blending in blend shapesWindy Darian
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-18Fix tonemapper shader to correctly apply alpha channelYuri Rubinsky
2022-05-16Fix custom irradiance bug in Vulkan mobile rendererclayjohn
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-16Fix computation of screen_uvSomnath Sarkar
2022-05-13Merge pull request #60894 from derammo/derammo_opengl3_windowsRémi Verschelde
2022-05-13Copy_to_fb is available in both raster and clustered renderers, remove ↵Bastiaan Olij
unwanted checks
2022-05-12Merge pull request #60976 from Calinou/fsr-rename-property-hintRémi Verschelde
2022-05-12Merge pull request #60643 from clayjohn/GLES3-3DRémi Verschelde
2022-05-12Basic 3D renderingclayjohn
2022-05-12Rename remaining references of FSR to FSR 1.0Hugo Locurcio
With FSR 2.0 around the corner, we should avoid any ambiguity by explicitly stating the version number.
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-11SceneShader compilingclayjohn
2022-05-11SkyShaders workingclayjohn
2022-05-11opengl3 driver now works on windows including multi windowderammo
fixed and simplified gl_manager_windows swap buffers now called for all windows fixed missing pixel format setting in additional windows this makes them work in OpenGL contexts changed verbose error printing to write once this error message happens very frequently while opengl3 is not finished removed dead code no longer needed after changes fixed comments that were misinformation window messages during window creation now handled these were previously discarded messages now tunnel the required context changed failure to create opengl3 window on windows to be more fatal marked a problem with pen code conditional compilation of vulkan and opengl3 on windows fixed windows debug builds now show messages on debug console also rendering driver selection box now shows only compiled drivers marked some problematic code thanks to akien-mga for patiently rewriting my style mistakes
2022-05-11Split out bokeh_dof and copy effectsBastiaan Olij
2022-05-10Fix warnings found by Emscripten 3.1.10Rémi Verschelde
Fix `-Wunused-but-set-variable`, `-Wunqualified-std-cast-call`, and `-Wliteral-range` warnings.
2022-05-09Fix instance uniform shader crash in custom functionsYuri Roubinsky
2022-05-05Merge pull request #60772 from MightiestGoat/multimesh-uniform-setRémi Verschelde
Fix the uniform set creation of multimesh with a invalidated buffer
2022-05-05Check multimesh before uniform set creationmightygoat
2022-05-05Fix the uniform set creation of multimesh with a invalidated buffermightygoat
2022-05-04Merge pull request #60568 from Chaosus/shader_keyword_completionsRémi Verschelde
Add keyword completion to shader editor
2022-05-04Merge pull request #58298 from Calinou/decal-distance-fade-use-easingRémi Verschelde
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-05-03Merge pull request #51102 from Calinou/renderingserver-add-api-version-getterRémi Verschelde
Add `get_video_adapter_api_version()` to RenderingServer
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-03Add `get_video_adapter_api_version()` to RenderingServerHugo Locurcio
This method can be used to get the graphics API version currently in use (such as Vulkan). It can be used by projects for troubleshooting or statistical purposes.
2022-05-02Make Decal distance fade smootherHugo Locurcio
`smoothstep()` avoids the sudden transparency jump when entering or leaving a decal's distance fade margin distance. This in turn helps make opacity transitions less noticeable to the player, as it's less likely to catch the player's eye.
2022-05-02Merge pull request #60705 from awsker/fix-viewport-clearingRémi Verschelde
Viewport would be cleared even when clear_mode was set to never clear
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-02Viewport would be cleared even when clear_mode was set to VIEWPORT_CLEAR_NEVERawsker
2022-05-01Merge pull request #60682 from Chaosus/shader_vec3_hint_colorYuri Rubinsky
2022-05-01Add `hint_color` support for `vec3` in shadersYuri Roubinsky
2022-04-30Use linear mipmap sampling in ToneMapperclayjohn
2022-04-29Rename Basis "elements" to "rows"Aaron Franke
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke
2022-04-29Add keyword completion to shader editorYuri Roubinsky
2022-04-28Merge pull request #60547 from BastiaanOlij/split_tonemapper_effectRémi Verschelde
Splitting tonemapper into its own class
2022-04-28Splitting tonemapper into its own classBastiaan Olij
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-26Fix "ortogonal" -> "orthogonal" typo in rasterizer codeHugo Locurcio
2022-04-26Prevent shader crash when using precision on boolean typesYuri Roubinsky
2022-04-25Fix clearing backbuffer if there are no itemsNNesh