Commit Graph

637 Commits

Author SHA1 Message Date
Turánszki János 0f684dc4bf terraingen: grass density modification without recreating grass chunks 2022-07-16 07:37:27 +02:00
Turánszki János 408d7505fb terraingen: grass density slider and improved prop density slider 2022-07-15 18:15:51 +02:00
Turánszki János 0dd6eea4ce terrain gen: grass density increases with chunk scale by squared amount 2022-07-15 17:17:39 +02:00
Turánszki János 6b13ec2590 editor: renderpath switching fix with multiple scenes 2022-07-15 14:32:58 +02:00
Turánszki János 018a949cb4 editor: terrain generator updates, wireframe shortcut 2022-07-15 11:22:33 +02:00
Turánszki János 5a0c423ddd Updates:
- editor: quicksave, multiple scenes support, gui changes, additional shortcuts
- physics: improvements for handling multiple scenes, and removal of physics objects
- scripting: ability to override global scene and camera with custom scene and camera from cpp side
2022-07-14 15:21:28 +02:00
Turánszki János edbbbe7e61 editor: transform tool fix 2022-07-13 15:46:15 +02:00
Turánszki János 778c0e5af7 editor: scaler tool improvements 2022-07-13 13:50:26 +02:00
Turánszki János 5b35a5a47d Transform tool updates (#486)
* translator tool upgrades, renderpath2D hdr improvement

* fix

* rewritten rotation tool

* visual update

* screen aligned rotation mode

* rotation snap mode fix

* non uniform scaling fix

* improvements to transform undo/redo

* added snap mode configuration

* mirroring transform tool based on camera relative position;
axis text display;

* origin drag visualizer

* minor refactor
2022-07-12 13:24:35 +02:00
Turánszki János 4cd3ef6afd editor: transform window updates - euler angles, clear transform 2022-07-10 08:42:57 +02:00
Turánszki János 1a591762a3 editor: transform window fixes 2022-07-09 21:47:04 +02:00
Turánszki János be769d60b5 editor: inspector mode 2022-07-07 08:45:56 +02:00
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 ad6b340f1b editor: instance placer vertical rotation 2022-07-01 10:13:51 +02:00
Turánszki János c02ab327d8 Physical light units (#476) 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
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 11fdd5f1f3 soft body fix; normalized light direction fix; 2022-06-22 11:02:17 +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 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 c642be8567 editor tweaks: bloom threshold, terraingen weather 2022-06-18 11:55:01 +02:00
Turánszki János b37ac9b171 terrain generator: enabled tree impostors 2022-06-15 12:23:16 +02:00
Turánszki János 8db0369816 Impostor updates (#461) 2022-06-14 13:46:49 +02:00
Turánszki János 5e0988e1da Font renderer hdr output remapping (#460) 2022-06-11 19:42:54 +02:00
Turánszki János 7985d06b2c Subresource Mapping (#459)
* subresource download, upload improvements, ktx2, basis convert: using mipmap data from GPU

* bush and tree terrain assets: mipmap coverage fix

* refactors

* comments
2022-06-10 18:35:49 +02:00
Turánszki János 93cb6b1935 sprite font typewriter animation 2022-06-05 11:40:39 +02:00
Turánszki János 7e589cf5fc updated icon assets 2022-06-04 11:41:32 +02:00
Turánszki János 9af2855682 VRAM usage display 2022-06-03 14:52:58 +02:00
Turánszki János c9e4c34e31 uwp text input fix 2022-06-01 20:02:33 +02:00
Turánszki János 91c385ab9d Pain Tool Brush textures (#448)
* added brush textures to paint tool

* logo

* fix
2022-05-22 13:20:19 +02:00
Turánszki János 628bd67ea9 font renderer: word wrap is fix, gui: label scrollbar 2022-05-20 15:09:57 +02:00
Turánszki János f7d28b1127 GUI scrollbar updates (#447) 2022-05-19 22:42:49 +02:00
Turánszki János 54491ad536 Visbuffer Optimizations (#438)
Splitting visibility buffer shaders to reduce register usage:
resolve (async)
binning (async)
velocity (async)
surface sampling (async)
sky (async)
lighting (gfx)

Successfully improved GPU utilization in lighting shader.
Binning is faster, because binning tiles and not pixels
Because tiles are binned, lighting tiles are using coherent tile info for whole thread group
Surface, sky and decal rendering also runs now in async compute.
Velocity is separate pass, improves GPU utilization in resolve, and only runs as optional.
Surface shader occupancy is still bad, and wind computation is still bad per pixel, but now it is only done in surface shader.
Surface shader can now write out proper top layer of clearcoated material, this improves screen space and raytraced reflections.
MSAA not implemented yet for visibility compute shading
Tessellation is still only half way supported in visibility compute shading (tessellation data not available in memory for pixel interpolation, but depth is written in prepass, this causes mismatch)
2022-05-15 15:50:42 +02:00
Turánszki János 5a035c3a17 editor: fixed grass interaction check 2022-05-13 17:10:47 +02:00
Molasses fbdb772c76 Changed the Wicked Engine launcher shebang (#442)
* Edited the `wicked-engine.sh` shebang shell to `sh`
2022-05-13 11:56:12 +02:00
Matteo De Carlo 1f6a3743e6 Ops, did not mean to use zsh (#440)
bash is perfectly fine here
2022-05-11 08:55:14 +02:00
Matteo De Carlo 8c43592982 cmake install editor and offlineshadercompiler (#424)
* Install editor and offlineshadercompiler

* Install .desktop file and icon

* Improved shaders install code

* Editor installation with assets
2022-05-09 10:54:37 +02:00
Turánszki János d50370865a Visibility Buffer shading in CS (#431)
* shading on the visibility buffer in compute

* very slow computation of wind barycentrics

* update

* implementation of ddx ddy for decals in compute

* SURFACE_LOAD_QUAD_DERIVATIVES

* visibility resolve also use quad derivatives

* wind stuff

* material binning base

* rtao fix

* fix

* permutations

* binning optimizations, refactors

* parallax occlusion mapping CS

* change

* anisotropy CS

* lightmap in CS

* refactor

* clearcoat and sheen cs

* updates

* better permutation handling

* offline shader compiler permutations support

* refactor

* fix for uv scaling derivatives

* visibility compute shading as optional setting
2022-05-08 14:20:43 +02:00
Turánszki János 3f4e9a7294 editor: limit far plane slider min #432 2022-05-07 09:55:59 +02:00
Turánszki János 18108223df Terrain Virtual Texture (#422) 2022-05-02 10:34:27 +02:00
Turánszki János d2985abd41 paint tool fixes; translator jitter removed when temporal AA enabled; 2022-04-28 11:33:32 +02:00
Turánszki János d0b3f63511 Starry sky (#418) 2022-04-27 12:51:53 +02:00
Turánszki János bb8276a82c terrain gen updates 2022-04-24 19:44:24 +02:00
Turánszki János bb5e7a8ccb hierarchy: don't assume that transforms exist; gui update; editor model importer update; 2022-04-24 14:32:36 +02:00
Turánszki János 379a44e644 terrain gen: reduced memory usage 2022-04-24 12:28:54 +02:00
Turánszki János 00b2655329 added custom scaling factor to canvas (#416) 2022-04-23 09:50:46 +02:00
Turánszki János 97d158cca1 editor: terraingen texture tiling range remap 2022-04-19 12:14:13 +02:00