Commit Graph

3175 Commits

Author SHA1 Message Date
Turánszki János 196eb3ec38 gui: scrollbar improvements 2022-07-06 10:50:24 +02:00
Turánszki János b944465263 Font renderer updates (#483)
* font renderer updates, text debug drawer;
editor: name visualizer;
github CI: vulkan sdk not required;

* cmake: vulkan sdk not required

* refactors

* lua binding for DrawDebugText()

* comment

* transparency sorting for debug texts;
font alphablend fix;

* softer debug text
2022-07-05 15:20:23 +02:00
Turánszki János 2a8d22124e physics: LOD support for triangle mesh shape 2022-07-04 11:39:07 +02:00
Turánszki János 6d19f77bfa vulkan fixes for updated validation layer 2022-07-03 17:12:24 +02:00
Turánszki János 939d5b9afc dx12: renderpass subresource barriers 2022-07-03 13:53:08 +02:00
James Webb d4ee853c8a Workaround for Nvidia driver bug #450 (#481)
* Workaround for Nvidia driver bug where just testing if a bindless buffer descriptor is valid seems to require that it is valid (at least in the two compute shaders where the issue was noticed).

Instead of testing if the luminance buffer is valid in the bloom/tonemap shaders, always provide a luminance buffer by using a dummy buffer when eye adaption is disabled. This bug was introduced with the 516.40 drivers.

* Add assert that the exposure offset is at 0 else the dummy buffer is no longer valid.
2022-07-02 20:33:16 +02:00
Preben Eriksen b5c701f6b6 DX12 SV_PrimitiveID workaround (#480)
* PE: fixed - Crash on debug BVH visualizer is no raytracing is available.

* PE: fixed - black dots issue. ( https://github.com/turanszkij/WickedEngine/issues/450#issuecomment-1143647323 )

* PE: Another way to check if BVH is active is needed.

* PE: fix - Check if debug BVH is possible. or it will crash.

* PE: changed bug fix to a general Workaround function, depending on current backend.

* Fixed - Crash when creating screenshot without a folder.

* PE: Another way to fix black dots issue single call to workaround. ( https://github.com/turanszkij/WickedEngine/issues/450#issuecomment-1143647323 )

* PE: EventBegin for Workarounds.

* PE: workaround cleanup , removed enum and getbackend.

* PE: Disable DX12 workaround on linux.
2022-07-01 23:32:46 +02:00
Turánszki János 24ce65ac4d impostor fix; shadow camera refactor; 2022-07-01 10:16:08 +02:00
Turánszki János ad6b340f1b editor: instance placer vertical rotation 2022-07-01 10:13:51 +02:00
Turánszki János 2640afe073 credits update 2022-07-01 10:13:31 +02:00
Turánszki János d762324659 vulkan: texture upload fix #478 2022-06-30 10:39:13 +02:00
Turánszki János daaceedfd4 surfel GI: incorrect surfel lookup in integrate fix #479 2022-06-30 10:03:52 +02:00
Turánszki János c02ab327d8 Physical light units (#476) v0.70.0 2022-06-29 20:15:36 +02:00
Turánszki János 86c748ed98 Spotlight inner cone, GLTF KHR_lights_punctual (#474)
* added inner cone angle to spotlights

* refactors

* different shader entity packing

* KHR_lights_punctual

* features.txt

* spot cutoff

* seri

* fixes

* update

* angularAttenuation mad

* refactor

* attenuation refactors
2022-06-28 23:10:48 +02:00
mat 0a5e170a49 Handle WM_INPUT in Template_Windows WndProc() (#473) 2022-06-27 10:57:44 +02:00
Turánszki János 850a9949c0 voxel GI: floating voxel fix by centroid interpolation 2022-06-27 09:52:45 +02:00
Turánszki János f502550575 physics: softbody and rigid mesh LOD fix 2022-06-26 23:19:52 +02:00
mat 37428dd7f2 Rename ApplyBodyImpulse() to ApplyImpulse() to fix missing function body (#472)
Co-authored-by: matpx <matpx@users.noreply.github.com>
2022-06-26 22:50:12 +02:00
Turánszki János bdd69b5b02 physics fixes #471 2022-06-26 19:21:01 +02:00
Turánszki János b64d30c8ca dx12: discardresource fix 2022-06-26 15:45:27 +02:00
Turánszki János 8a8f43b193 terrain generator: improvement for virtual texture sampling across chunks 2022-06-26 15:15:45 +02:00
Turánszki János 3c6951aa4c terrain generator: export as heightmap texture #470 2022-06-25 13:22:23 +02:00
Turánszki János 03ff8ba4e7 save texture to file: support R8_UNORM format 2022-06-25 13:16:51 +02:00
Turánszki János d17a3f1fbe scripting updates 2022-06-23 10:39:25 +02:00
Turánszki János 0fad3b5111 added cpu profiling for shadowmap rendering 2022-06-22 16:10:47 +02:00
Turánszki János d914744585 lua binding for color space info display 2022-06-22 11:49:32 +02:00
Turánszki János 949520e4b8 SetAOPower() lua binding 2022-06-22 11:31:32 +02:00
Turánszki János 11fdd5f1f3 soft body fix; normalized light direction fix; 2022-06-22 11:02:17 +02:00
Preben Eriksen b1355a10b5 fix - endless loop if some lights do not have shadows. (#468)
PE: Fix , endless loop if some lights do not cast shadows.
2022-06-22 10:07:46 +02:00
Turánszki János 878a4d9d3a additional safety checks for invalid descriptors 2022-06-22 09:06:40 +02:00
Turánszki János a642de6a12 handle shadow rect packing failure by downscaling iteration 2022-06-21 20:26:20 +02:00
Turánszki János 9177077b7a Shadow atlas (#467)
shadow atlas will contain directional, spot, point light shadows all in one texture;
shadow count will not be limited, they will be tigthly packed within the atlas instead;
shadow resolution will be dynamic per light;
shadow texture arrays will no longer be used;
2022-06-21 18:34:04 +02:00
Turánszki János 013bd07f7e transparent cube shadow fix 2022-06-20 12:19:09 +02:00
Turánszki János d7ce596e6f skinning: guard against invalid descriptor access 2022-06-20 11:30:19 +02:00
Turánszki János d9174eb4bb Envprobe MSAA (#466)
* envprobe MSAA support;
vulkan: transient attachment support;
dx12: renderpass resolve subresource improvement;

* envprobe window update

* envprobe gi boost fix

* probes will render fully diffuse scene, because inside probes there is no fallback reflection
2022-06-19 12:15:47 +02:00
Turánszki János af9187d846 impostor over-indexing fix 2022-06-18 11:56:49 +02:00
Turánszki János c642be8567 editor tweaks: bloom threshold, terraingen weather 2022-06-18 11:55:01 +02:00
Turánszki János 39d3ab1e19 Impostor persistent data (#465)
* Impostor persistent gpu data

* impostor buffer frustum culling

* fixes

* impostor ao

* impostor wireframe fix
2022-06-17 15:19:42 +02:00
Turánszki János ac5d006aa0 updated credits 2022-06-16 17:20:17 +02:00
Turánszki János a659de8664 consistency fix 2022-06-16 09:28:29 +02:00
Turánszki János 3b3ad4eba6 fix: if tangents don't exist, don't create buffer descriptor for them 2022-06-16 09:17:28 +02:00
Turánszki János b37ac9b171 terrain generator: enabled tree impostors 2022-06-15 12:23:16 +02:00
Turánszki János 57c2731ca2 sponza asset update 2022-06-15 12:19:13 +02:00
Turánszki János 55f39f472b impostor fixes: fadeout, receive shadow 2022-06-15 11:35:11 +02:00
Turánszki János 8db0369816 Impostor updates (#461) 2022-06-14 13:46:49 +02:00
Molasses e0bfb799bc Added multiple jobs to the GitHub CI workflows (#464) 2022-06-14 11:37:04 +02:00
Molasses 10dd79cf5e A few more Visual Studio Code/Codium changes (#462)
* Edited the `wicked-engine.sh` shebang

* Changed the shebang shell to `sh`

* Wrote the `settings.json` file and made build changes.

- The `settings.json` file contains various options to filter out
directories.
- The `tasks.json` file is a bit cleaner now.

* Removed the `settings.json` file
2022-06-14 10:36:00 +02:00
Turánszki János 30076cf42c tighter packing for ShaderMeshInstancePointer 2022-06-12 11:47:23 +02:00
Turánszki János a9bb120506 handle invalid AABB intersections 2022-06-12 10:32:27 +02:00
Turánszki János 5e0988e1da Font renderer hdr output remapping (#460) 2022-06-11 19:42:54 +02:00