Commit Graph

611 Commits

Author SHA1 Message Date
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
Turánszki János b7ee504351 cloud shadows 2022-04-16 16:24:27 +02:00
Turánszki János a63b3e0e50 editor: grass interaction only with left button 2022-04-14 10:13:46 +02:00
Turánszki János 0d9af9f200 Grass interaction (#413)
* hairparticle simulation clamping

* editor: hair particle interaction

* update
2022-04-11 09:32:59 +02:00
Turánszki János d479a62c04 fixes 2022-04-10 14:01:52 +02:00
Turánszki János 604140ad85 Procedural Terrain (#408)
0.60.50:
- Added procedural terrain generator (for now this is Editor only preview version)
- Added LOD (Level Of Detail) support
- Added LOD Generator to Editor (Mesh Window -> LOD Gen), uses the meshoptimizer library
- Editor can merge multiple objects now into one mesh (Mesh window -> Merge Selected)
- Ocean: added occlusion culling support to detect when ocean is occluded
	- can skip planar reflection render for ocean
	- can skip ocean simulation
	- can skip ocean rendering
- CPU ray tracing optimization: TMin and TMax parameter
	- can improve Ray-AABB and Ray-Triangle tests
	- improves performance of third person character controller script
- other fixes
2022-04-10 11:42:10 +02:00
Megumumpkin 26a9d5dd5e SDL Input Refactor (#406)
* SDL Input Refactor (Initial Edit)

* SDL Input Refactor - IMGUI Text Input Fix

* SDL Input Refactor - wiGUI Text Input Fix

* SDL Input Refactor - Pruning Includes

* SDL Input Refactor - Fix Includes

* SDL Input Refactor - Fix Compiler Error (Windows)

* SDL Input Refactor - Fix Compile Error (2)

* SDL Input Refactor - SDL Version Checking For LED

* Trying out Sniper SDK build system

* SDL Input Refactor - Processing Design Changes

* SDL Input Refactor - Separate Steam Deck Build

* SDL Input Refactor - Separate Steam Deck (2)

* Steam SDK CI Build - Change Package Name & Reduct

* Steam SDK CI - Straight up building, no apt update
2022-03-29 11:26:34 +02:00
Molasses 07297fce37 Linux package files (#402)
* Wrote Linux package files

* Moved the package distribution content

* Started rewriting `Install.sh` in Python

* Added the `ttkbootstrap` module

* Applied a dark theme to the installer

* More dependency installation changes

* More installer changes

* Overhauled all distribution changes

* Fixed the `Setup.py` script
The `Setup.py` script tried to build `Dependencies.py`, which was
removed. It now builds `Install.py` instead.

* Moved from `subprocess.run()` to `os.system()`
The installer now uses the **deprecated** `os.system` function. In the
feature `Install.py` will use `subprocess.run()` again, however,
`os.system()` has better infrastructure to work.

* Fixed a grammatical error in `Install.py`
A comment referred to *the* Discord server as Discord, as a whole.

* Fixed two typos in `Install.py` caused by my editor

* Fixed major bugs in the `Install.py` script

* Fixed a possible issue that might occur in `Install.py`

* (Linux) File dialog glob pattern fix (#403)

* ocean: change to use indexed draw; fixed gradient tiling;

* raytracing now uses configurable sampler + refactors

* Underwater post process (#405)

* added underwater post process

* improvements

* update

* update

* border between underwater and air is better faded

* fixes: volumetric cloud blend mode in planar reflection; ocean receive shadow;

* underwater caustics

* Fixed a major `.gitignore` issue

* Debug changes

Co-authored-by: Megumumpkin <megumumpkin@protonmail.ch>
Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-03-21 18:57:20 +01:00
Turánszki János cedcbcb2f6 editor: copy-paste fixes 2022-03-13 11:17:24 +01:00
Turánszki János 1a1749b3c4 editor: added "white furnace" weather preset 2022-03-10 23:47:59 +01:00
Turánszki János 313fd0cd43 terragen and physics fixes 2022-03-10 12:30:07 +01:00
Turánszki János 3eae67c90c editor: parented duplication fix #389 2022-03-06 17:55:38 +01:00
Turánszki János f49ecdb60e Rendering Updates (#400)
* surface load updates

* ssr update

* rtao update

* raytracing updates

* ssr removed surface shader, visibilityresolve now resolves additional params

* surfel uid validation refactor

* msaa fix

* update

* update

* picking normal fix

* ray cone improvements

* rtreflection raycone improvement

* visibility resolve fast path

* comment update

* shadow mask fixes for planar reflection

* unrolled mesh and subset into shadergeometry buffer

* shadergeometry refactors

* interleaved uvset vertex buffers

* render queue sorting only for transparent and prepass rendering

* refactors

* refactors

* dx12, vulkan: draw-indirect-count implementations

* surface.load instance color fix

* surface.load instance emissive color

* profiler fix
2022-03-06 16:46:52 +01:00
Turánszki János a1833c9639 graphicsdevice: descriptor format change; indexbuffer merged into general buffer; 2022-03-01 20:18:58 +01:00
Turánszki János daa0f21681 combined mesh vertex buffers into one resource and refactors 2022-03-01 15:10:19 +01:00
Turánszki János 97b1ca555c improvements 2022-02-28 10:40:11 +01:00
Turánszki János 406d24d031 updated to visual studio 2022 (#392)
* updated to visual studio 2022

* github actions fix
2022-02-19 12:54:52 +01:00
Turánszki János 41e3f56e88 editor: undo/redo fix 2022-02-15 01:00:43 +01:00
Turánszki János e599f40664 editor: undo/redo improvements; also added cut to Ctrl+X; 2022-02-13 00:28:17 +01:00
Turánszki János ab75435c41 editor: undo-redo and recursive selection improvements; 2022-02-12 01:31:33 +01:00
Turánszki János 9ebac82454 entity_serialize robustness improvements; entity_remove recursive support; 2022-02-11 00:08:57 +01:00
Turánszki János 6408341827 editor: uwp asset copies moved out of common source file 2022-02-09 23:05:59 +01:00
Turánszki János a4580ea2b0 DDGI (#386)
* start ddgi implementation

* update

* updates

* update

* ray data packing

* removed comment

* update

* features.txt

* ddgi disabled by default

* added comments

* comments

* offlineshadercompiler

* updates
2022-01-19 13:19:14 +01:00
Turánszki János e55423d26a surfel gi boost fix 2022-01-15 15:25:38 +01:00
Turánszki János ddd276d0ac surfel gi improvements, added boost setting 2022-01-15 13:51:17 +01:00
Turánszki János 7c8526bd3e editor: paint tool sculpt mode uses pick normal instead of average 2022-01-14 18:03:46 +01:00
Turánszki János eba0baca3a editor: paint tool sculpting mode improvements 2022-01-14 00:19:11 +01:00