Commit Graph

4731 Commits

Author SHA1 Message Date
Turánszki János f807d9f69d added ability to choose gpu by vendor preference when initializing the graphics device 2025-10-26 14:50:58 +01:00
Stanislav Denisov 88a9aab75a Fix the chromatic aberration sampling (#1254) 2025-10-26 14:11:27 +01:00
Turánszki János 28f0330f97 fix for taa alphatocoverage, alphatest value shouldn't be taken into account for opacity #1252 2025-10-23 13:33:47 +02:00
Turánszki János 79cb603fb3 shader codegen improvement for pows 2025-10-22 17:47:46 +02:00
Stanislav Denisov 0bdd7a2a78 Fix out of bounds crash in SRV and UAV subresource vectors (#1250)
* Fix out of bounds crash in SRV and UAV subresource vectors

* Remove redundant type casting
2025-10-22 13:15:21 +02:00
Stanislav Denisov 301c3b9517 Fix stale pointers crash in terrain virtual textures (#1251) 2025-10-22 08:38:01 +02:00
Pescador Barquero 21e38d8531 Initial FreeBSD support (#1214) 2025-10-21 16:41:56 +02:00
Turánszki János 3507e1872f added additional safety against nans for path tracing 2025-10-21 08:43:32 +02:00
Turánszki János 537d60c29a initial water shader handling for path tracing 2025-10-20 09:35:02 +02:00
Dennis Brakhane 83032f6da1 sdl: use keyboard layout for letters (#1248)
The windows version already uses the local layout, so that eg. on QWERTZ
keyboard, undo is still CTRL-Z even though Z is not the key next to X.

SDL didn't do this, and forced people to press CTRL-Y instead.

This change also means that AZERTY people will have a hard time navigating
now, but it's consistent with the Windows version.

Fixes #1246
2025-10-19 18:33:05 +02:00
Turánszki János f099d9945b fix for render logic when scene update is disabled for editor camera preview 2025-10-18 10:35:25 +02:00
Turánszki János 41b405c4ee fixed issue with dedicated shadow and shadow atlas packing 2025-10-18 10:24:07 +02:00
Stanislav Denisov ede31fdd69 Fix edge sampling in sharpen shader (#1245)
Fix edge sampling in sharpen shader.
2025-10-18 08:31:11 +02:00
Stanislav Denisov 787d0afaa7 Implement smooth light shaft fading (#1242)
* Implement smooth light shaft fading

* Simplify the light shaft fade factor logic

* Unify the light shaft fading parameters

* Use a fixed fade threshold

* Restore config.ini
2025-10-17 16:25:27 +02:00
Stanislav Denisov f635f08e04 Fix terrain generation restores deleted materials as dummy entities (#1243)
* Fix terrain grass restore

* Fix terrain generation restores deleted materials as dummy entities
2025-10-17 08:06:11 +02:00
Turánszki János 334cdc881b editor: camera preview render disabled when camera wnd is collapsed #1244 2025-10-17 08:01:46 +02:00
Stanislav Denisov 03ce3f0009 Add parameters to show\hide mesh and internal materials (#1240)
* Add internal material flag

* Add parameters to show\hide internal and transform materials

* Filter materials by meshes instead
2025-10-16 07:48:17 +02:00
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