Commit Graph

3302 Commits

Author SHA1 Message Date
SirLynix 63e74b4f47 Physics2D/RigidBody2D: Fix crash when moving an already moved value 2022-07-07 08:50:44 +02:00
SirLynix 3507ec570f Network: Fix ENetPacket 2022-07-07 08:50:18 +02:00
SirLynix 1b678defae Add system graph (wip) 2022-07-02 19:45:50 +02:00
SirLynix 4d24be2ae9 Utility/NodeComponent: Use entt::handle for SetParent 2022-07-02 19:45:33 +02:00
SirLynix d5f70279a1 Utility: Add velocity component and system 2022-07-02 19:43:58 +02:00
SirLynix 99b4397d78 Core: Add Lifetime component and system 2022-07-02 19:43:02 +02:00
SirLynix a61ebb7806 OpenGLRenderer: enable GL_TEXTURE_CUBE_MAP_SEAMLESS on OpenGL
to match other API behavior
2022-07-02 19:28:20 +02:00
SirLynix 2b4075dc9b OpenGLRenderer: Fix incorrect warning on max storage buffer supported 2022-07-02 19:27:39 +02:00
SirLynix 2e894336e5 VulkanRenderer: Fix minUniformBufferOffsetAlignment limit 2022-06-28 20:21:33 +02:00
SirLynix 87cb72217e ShaderNode: Fix compilation 2022-06-28 12:40:12 +02:00
SirLynix 4f08e7d848 Improve readability of tangent computing 2022-06-28 08:58:08 +02:00
SirLynix cefa620b20 PhongMaterial: Move TBN computation to fragment shader 2022-06-28 08:56:43 +02:00
SirLynix 9f360f6675 Graphics: Watch dev files in debug for changes 2022-06-28 08:56:14 +02:00
SirLynix 87012a4a52 GraphicalMesh: Handle missing index buffer 2022-06-28 08:55:48 +02:00
SirLynix 093d9d344e Renderer: Add support for storage buffers 2022-06-17 20:15:16 +02:00
SirLynix 813314b5d5 UberShader: Handle case where entry points come from imported modules 2022-06-17 19:07:40 +02:00
SirLynix 6f18a02999 Add fullscreen vertex shader module 2022-06-16 19:26:57 +02:00
SirLynix 62ba4f172b Graphics/GraphicalMesh: Allow to update submeshes 2022-06-16 18:19:48 +02:00
SirLynix 2cc4944f58 Fix compilation 2022-06-16 18:19:19 +02:00
SirLynix 8e8bee7037 Temp fix for NZSL update 2022-06-15 20:26:14 +02:00
Jérôme Leclercq a237102de9
Music: fix concurrent access on destruction 2022-06-07 22:47:54 +02:00
Lynix 916fecbf37 ShaderNode: Fix compilation 2022-06-07 20:59:54 +02:00
SirLynix 16922a9519 Audio/Music: Fix datarace 2022-06-07 20:18:26 +02:00
SirLynix c7b6d83bbc Last nzsl version update 2022-06-07 20:18:16 +02:00
SirLynix 510ef8c41e Update shaders to new import syntax 2022-06-05 18:51:46 +02:00
SirLynix 49ba0c1ca2 Restore Widgets resources 2022-05-27 13:08:28 +02:00
Jérôme Leclercq 03e2801dbe Split engine to packages NazaraUtils and NZSL (#375)
* Move code to NazaraUtils and NZSL packages

* Reorder includes

* Tests: Remove glslang and spirv-tools deps

* Tests: Remove glslang init

* Remove NazaraUtils tests and fix Vector4Test

* Fix Linux compilation

* Update msys2-build.yml

* Fix assimp package

* Update xmake.lua

* Update xmake.lua

* Fix shader compilation on MinGW

* Final fixes

* The final fix 2: the fix strikes back!

* Disable cache on CI

* The return of the fix™️
2022-05-25 19:36:10 +02:00
SirLynix 5544d336ab Shader: Fix index remapping when importing a text shader in a precompiled shader 2022-05-12 23:08:21 +02:00
SirLynix 6469ab5fde Utility: Refactor some algorithms 2022-05-12 18:15:20 +02:00
SirLynix 7c2b8e0576 Core/File: Add WriteWhole static function 2022-05-12 18:11:41 +02:00
SirLynix a8e69882fb Core/PluginManager: Fix plugin loading under Linux 2022-05-09 13:19:44 +02:00
SirLynix b0ecb64f19 OpenGLRenderer: Fix loading of glSpecializeShader 2022-05-09 13:19:31 +02:00
Lynix 5f389ef0a4 Core/File: Add ReadWhole 2022-05-08 15:50:29 +02:00
Lynix 3c8b4c2587 Audio: Fix loading of OpenAL 2022-05-08 15:44:59 +02:00
Lynix 17b1c2407d Audio/AudioSource: Add GetSampleOffsetAndLatency 2022-05-08 15:44:41 +02:00
SirLynix 41712a3f18 Minor fixes 2022-05-08 13:21:20 +02:00
SirLynix 4794073b73 Audio: Add support for AL_SOFT_source_latency 2022-05-08 13:20:55 +02:00
SirLynix 00f11a74dc ShaderCompiler: Don't return success if compilation failed 2022-05-07 15:30:44 +02:00
SirLynix 21a38fb31b Audio: Add some fixes and tests 2022-05-06 12:41:02 +02:00
SirLynix 81085508ec Minor fixes 2022-05-05 20:20:44 +02:00
SirLynix 973b589b08 Shader: Fix conditional statement handling in partial compilation mode 2022-05-05 20:19:27 +02:00
SirLynix e62969999a ShaderCompiler: Add --log-format option 2022-05-05 20:18:34 +02:00
SirLynix 106d629342 Shader: Update SPIRV data 2022-05-05 20:17:32 +02:00
Alexandre Janniaux f146661a76 VulkanRenderer: implement metal view
The metal view backing the MoltenVK compatibility wrapper is written in
Obj-C.

It would have been possible to use the Objective-C runtime in C++ but
the code is less performant (the symbol binding is done at first use
instead of the beginning of the program) and actually harder to get
right.

Note that MoltenVK is not linked to the loader, so the libMoltenVK.dylib
object must be available for loading.
2022-05-04 22:12:01 +02:00
Jérôme Leclercq e6c74fbc5f Physics2D/Constraint2D: Add method GetLastImpulse 2022-05-01 17:37:11 +02:00
SirLynix 13f765fc0d Utility: Fix GIF loading 2022-04-27 18:24:00 +02:00
SirLynix 2a091d25b7 Utility: Add ImageStream and GIF support 2022-04-27 18:24:00 +02:00
SirLynix 3d15f3578b Utility: Use UInt64 to store index/vertex instead of size_t 2022-04-23 23:12:40 +02:00
SirLynix 8cd1f2d590 Update AlgorithmUtility.cpp 2022-04-23 22:29:07 +02:00
SirLynix 0f58117b76 Fix compilation on macOS 2022-04-23 22:23:07 +02:00