Commit Graph

583 Commits

Author SHA1 Message Date
Wojtek Figat
29bfef677f Add PixelFormatSampler utility to quick read/write operations on various data formats
Moved from `TextureTool` to be used in runtime and with more generic use cases (including C# scripting).
2025-01-05 23:49:44 +01:00
Wojtek Figat
933fac6c13 Add Slice to Span and sue it to make code cleaner 2025-01-05 17:41:27 +01:00
Wojtek Figat
792d322818 Missing change for 6f04231b31 2025-01-05 00:17:52 +01:00
Wojtek Figat
6f04231b31 Rename Vertex Shader input semantic ofBLENDWEIGHT to BLENDWEIGHTS 2025-01-04 21:04:18 +01:00
Wojtek Figat
4f42fb2302 Update other graphics apis to match missing vertex shader inputs merging 2025-01-04 10:55:55 +01:00
Wojtek Figat
ea5cb5d83a Minor fixes and improvements 2025-01-03 01:10:31 +01:00
Wojtek Figat
7b7dd9d142 Improve GPU vertex layout binding in case of missing element from the mesh 2025-01-03 01:09:25 +01:00
Wojtek Figat
348f17479d Fix name of BlendWeight to BlendWeights for vertex input to match BlendIndices 2025-01-03 01:07:33 +01:00
Wojtek Figat
ab99a25cee Update mesh config defines to match a single format 2024-12-29 23:03:09 +01:00
Wojtek Figat
668f3fa68d Update read and write streaming api to use the newest format 2024-12-29 23:00:40 +01:00
Wojtek Figat
fee0ab74ff Update old doc comments 2024-12-28 21:31:21 +01:00
Wojtek Figat
723a882824 Merge more code together for meshes 2024-12-23 23:28:01 +01:00
Wojtek Figat
9f648caac8 Remove deprecated asset data upgrades and old model vertex structures 2024-12-20 00:48:01 +01:00
Wojtek Figat
1bf29c042b Refactor models and meshes to share more code in a base class 2024-12-19 00:20:08 +01:00
Wojtek Figat
8eaa906e0c Remove some redundant code 2024-12-18 18:39:58 +01:00
Wojtek Figat
5b98603c16 Fix incorrect vertex layout stride calculation 2024-12-18 18:38:47 +01:00
Wojtek Figat
80299c8552 Add stride to GPUVertexLayout 2024-12-17 15:58:26 +01:00
Wojtek Figat
d1ac9cd2bc Minor fixes 2024-12-16 20:07:53 +01:00
Wojtek Figat
59b4755379 Move mesh code to shared base class and reordanize files 2024-12-16 20:07:42 +01:00
Wojtek Figat
b3f37ca041 Refactor Vertex Shader input vertex layout to use GPUVertexLayout defined on Vertex Buffer rather than Vertex Shader
#3044 #2667
2024-12-15 22:10:45 +01:00
Wojtek Figat
fc4e6f4972 Add GPUVertexLayout to graphics backends 2024-12-13 09:20:01 +01:00
Wojtek Figat
cedf4b1eb5 Remove GPUShaderProgramsContainer to simplify GPUShader 2024-12-11 15:08:13 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Wojtek Figat
3e344e789a Optimize terrain debug shape drawing by caching lines into a vertex buffer
#2841
2024-12-09 18:26:53 +01:00
Wojtek Figat
e53b2b5736 Fix various compilation warnings 2024-12-06 11:37:25 +01:00
Wojtek Figat
2f16694529 Fix some not important warning to be less verbose in some cases 2024-12-04 18:40:52 +01:00
Wojtek Figat
1c2c010ddc Merge branch 'fix/nullable' of https://github.com/mtszkarbowiak/FlaxEngine into mtszkarbowiak-fix/nullable 2024-10-25 15:38:44 +02:00
Wojtek Figat
0b1263a9e2 Disable VK_EXT_tooling_info check for debugger on Linux 2024-10-22 21:54:38 +02:00
Wojtek Figat
f8371d037b Refactor old ContentLoadingManager into Content for simplicity 2024-10-11 23:05:09 +02:00
Wojtek Figat
ff495e1319 Add safety check to exit game in Release mode when running with graphics debugger attached 2024-10-11 20:15:17 +02:00
Mateusz Karbowiak
db06f4f72e Fixed implicit type conversion for type specialization 2024-10-05 21:22:36 +02:00
Wojtek Figat
a932d549f4 Debug Commands work in progress 2024-10-03 10:24:15 +02:00
Wojtek Figat
c597c38705 Fix volumetric fog particles after objects instancing refactor 2024-10-01 15:07:32 +02:00
Wojtek Figat
2ad9c7f4d5 Fix Skybox rendering regression
#2943
2024-09-24 23:01:13 +02:00
Wojtek Figat
da203352fd Refactor old code documentation 2024-09-24 18:20:12 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
33ccdea761 Fixes and shader update
#2673
2024-09-12 09:02:48 +02:00
Wojtek Figat
7bc4de4e6b Merge branch 'agx-tonemapping' of https://github.com/GaryMcWhorter/FlaxEngine into GaryMcWhorter-agx-tonemapping 2024-09-12 07:58:01 +02:00
Wojtek Figat
545e59aba5 Fix lightmap uvs density view to handle scale in lightmap and outline non-static objects
#2080
2024-09-09 05:59:17 +02:00
Wojtek Figat
fc9aa5c184 Fix texture streaming reallocation task to ignore not-resident mips
#2559
2024-08-30 19:50:00 +02:00
Muzz
09737023a1 Add **Contrast Adaptive Sharpening (CAS)** filter pass
#2423
2024-08-29 19:01:37 +02:00
Wojtek Figat
7ca45e1f54 Add clearing render target pool textures to pink during in Debug builds 2024-08-08 21:25:08 +02:00
Wojtek Figat
2b9c050911 Add Graphics.ShadowUpdateRate to control global shadows atlas update rate 2024-08-07 23:46:18 +02:00
Wojtek Figat
bc313c8630 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 20:00:39 +02:00
Wojtek Figat
23fcfb4eb2 Code cleanup
#2717
2024-08-05 19:44:06 +02:00
Wojtek Figat
a49fc1c5d1 Merge branch 'forward-software-refl' of https://github.com/HydrogenC/FlaxEngine into HydrogenC-forward-software-refl 2024-08-05 19:04:28 +02:00
Wojtek Figat
e44e44d317 Merge remote-tracking branch 'origin/master' into 1.9 2024-08-05 11:08:51 +02:00
Wojtek Figat
c4f37741b7 Fix blend shapes importing
#2672
2024-07-26 23:54:27 +02:00
Wojtek Figat
5ddf24381b Merge branch 'deprecation_messages' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-deprecation_messages 2024-07-24 16:41:49 +02:00
Wojtek Figat
aa57db03bb Revert debug change 2024-07-24 14:09:02 +02:00