Commit Graph

4714 Commits

Author SHA1 Message Date
Stanislav Denisov a00fb8efc2 Implement a dialog for unsaved changes (#1241)
* Track unsaved scene changes

* Implement a dialog for unsaved changes

* Exclude all selection actions from scene change tracking
2025-10-15 17:39:15 +02:00
Turánszki János 7318056235 taa stochastic alpha will be disabled unless alpharef or dithering is used 2025-10-14 07:50:18 +02:00
Stanislav Denisov d022decb17 Add editor options to disable rounded corners and gradients (#1239)
* Add editor options to disable rounded corners and gradients

* Use checkbox states to get editor option values
2025-10-13 16:40:22 +02:00
Turánszki János 610da2984c disable water in raytraced shadow casting 2025-10-12 10:41:17 +02:00
Turánszki János 22e7be4114 provoking index stride fix 2025-10-10 07:59:55 +02:00
Stanislav Denisov 295b708a81 Improve the logic for auto adding the weather component to the terrain (#1238) 2025-10-10 07:49:00 +02:00
Turánszki János e65daa94fe tessellation fix when using provoking index buffer 2025-10-09 08:49:29 +02:00
Turánszki János 96a75a6982 envmap sky pixel shaders don't need rendertargetarrayindex input #1230 2025-10-09 08:18:56 +02:00
Turánszki János b437b6f0b5 mesh shader primitiveid fixes 2025-10-08 17:19:09 +02:00
Turánszki János 5765b96c0d SV_RenderTargetArrayIndex and SV_ViewportArrayIndex compiled out of pixel shaders #1230 2025-10-08 09:01:12 +02:00
Turánszki János 4fc1d375a7 SV_PrimitiveID emulation by provoking vertex (#1237)
The SV_PrimitiveID is no longer used as PS input, instead two additional index buffers are used for indirection. The "provoke" contains primitiveIDs for every provoking vertex. The "reorder" contains the vertexID remapping from "provoke". On PS5 this removes the need to do additional geometry shader fallback for prepass rendering. It will be also helpful for MacOS port that doesn't support SV_PrimitiveID or geometry shader (PR: #1230 )
2025-10-07 18:51:55 +02:00
Turánszki János 430066bcd6 path tracing denoiser job additional safety v0.71.834 2025-10-05 09:28:18 +02:00
Turánszki János e2ca5b36db path tracing: denoiser job safety fix 2025-10-05 09:24:46 +02:00
Turánszki János 20d512eb63 mesh blend support for path tracing (#1234) 2025-10-05 08:44:08 +02:00
Dennis Brakhane 9ad29fd68d sdl: actually fix keys (#1235)
I simplified the expression before making PR #1233 and forgot to check,
and I had a brain fart and made things worse.

So this fixes the fix.
2025-10-05 08:30:21 +02:00
Dennis Brakhane 1608faf32a sdl: fix number keys (#1233)
SDL numbers the keys as they are organized on the keyboard, so
the first number key is 1, not 0.

Fixes #1232
2025-10-04 16:31:02 +02:00
Turánszki János 2d94fa76d4 meshblend id assignment improvement #1231 2025-10-04 10:37:04 +02:00
Turánszki János f5bb20f326 Jolt physics 5.4 (#1229) 2025-09-28 16:22:51 +02:00
Turánszki János 68c1616247 imgui example update 2025-09-28 07:11:33 +02:00
Turánszki János 80d0acf2ff fix for emitter without material #1225 2025-09-27 10:22:38 +02:00
Turánszki János bc87457265 fix for dereferencing non-existent name #1224 2025-09-26 06:52:40 +02:00
Dennis Brakhane e1aea7826f wrap utility_common.cpp in extern "C" (#1223)
This seems to solve a linking problem when using address sanitizer
2025-09-25 09:55:22 +02:00
Turánszki János 04b50c0933 crt shader improvements 2025-09-24 07:53:06 +02:00
Turánszki János 39201b7f32 camera feed msaa resolve fix #1220 2025-09-23 10:28:58 +02:00
Turánszki János 97b8f8608f added CRT effect option for camera feed 2025-09-22 10:47:51 +02:00
Turánszki János 4113127c1b CRT filter (#1218) 2025-09-16 09:24:32 +02:00
Turánszki János 9359c90ecf project creator improvement: reload last project 2025-09-13 11:11:32 +02:00
Turánszki János 70da7c2287 added some more post processing support for path tracing renderer 2025-09-13 08:36:20 +02:00
Anthony Python 4534a75ede [Bugfix] Fix Scene IntersectAll lua binding to return 1 for lua. (#1216)
Fix Scene IntersectAll lua binding to return 1 for lua.

Co-authored-by: AnthonyPython <cto@gungnirstudiosllc.com>
2025-09-12 11:54:42 +02:00
Turánszki János 162daa3d40 small optimizations and refactors 2025-09-09 17:51:47 +02:00
Turánszki János 5dc4f68e94 Mesh blend (#1215) v0.71.822 2025-09-03 08:46:48 +02:00
Turánszki János d583c14358 improvement for grass in dedicated character shadow 2025-08-26 09:50:44 +02:00
Turánszki János 1ed5e0d9ac PCSS shadow sampling mode [optional] (#1213) 2025-08-21 09:22:28 +02:00
Turánszki János 3ad12d8a9f Dedicated character shadows (#1212) 2025-08-17 09:17:11 +02:00
Turánszki János e9d5cd0966 texture swizzle improvement: xyzw is also accepted 2025-08-15 08:44:36 +02:00
Dennis Brakhane d00deb11f0 cmake: fix MSVC build (#1211)
add_compile_options add to the directory COMPILE_OPTIONS property;
it seems that setting target specific COMPILE_OPTIONS will only
use the current directory COMPILE_OPTIONS at the time the
target_compile_options is encountered, but ignore later ones.

Long story short: move the compile options further up, and the
/W3 and /MP ones to the toplevel so they also apply to the Editor
and Samples.
2025-08-15 07:40:47 +02:00
Dennis Brakhane 3b9a024d32 fix indentation (#1210) 2025-08-14 15:27:12 +02:00
Turánszki János afb9342895 path tracing crash fix when denoiser is enabled #1203 2025-08-14 08:40:01 +02:00
Jason Rice 1033b167bd Delete Widget copy/move constructors to prevent invalidating this (#1209) 2025-08-14 08:01:30 +02:00
Turánszki János 91226ffef6 HDR UI calibration slider + lua bindings #1204 2025-08-13 09:25:32 +02:00
Dennis Brakhane f0bd5a8086 Don't use by reference capture by default (#1207)
replace [&] with [this] or [] where possible to avoid people
accidentally capturing something by reference that needs to be
copied, like strings.
2025-08-13 08:46:42 +02:00
Turánszki János 22674314ac tightened shadow biasing 2025-08-12 17:43:16 +02:00
Turánszki János 464d75caf2 editor spline window fix 2025-08-12 09:05:19 +02:00
Jason Rice a249867f73 Remove stack reference capture (#1205) 2025-08-12 08:16:13 +02:00
Jason Rice 3fcb6ab83b editor: crash fix for export to c++ header file dialog (#1202) 2025-08-12 08:03:30 +02:00
Turánszki János cae9a0cb9d editor crash fix in light window cascade widgets 2025-08-11 08:41:56 +02:00
Dennis Brakhane 987d458ddd cmake: remove useless unity exception (#1201)
cmake: remove exception

Due to an typo, a nonexistant file was being excluded.

wiPhysics and wiPrimitive_BindLua cannot be compiled in the same unity file,
but wiPhysics is already compiled separately, so we can just remove the
exception.
2025-08-10 15:04:21 +02:00
Turánszki János bd8c1531df added some lua docs 2025-08-09 10:55:22 +02:00
Turánszki János 34335affbd added some lua bindings 2025-08-09 10:54:03 +02:00
Dennis Brakhane 14d2eb9f78 gltf: fix saving for current tinygltf versions, tinygltf back to v2.9.6 (#1198) 2025-08-09 09:53:48 +02:00