1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-23 12:37:45 +00:00
Commit graph

488 commits

Author SHA1 Message Date
729dce011a Fix specular not showing correctly, and more
The specular for lights now show up correctly. The offscreen buffers
use more accurate formats. And a new Scene struct is added for future
usage.
2024-04-27 21:11:53 -04:00
7cd519fac2 Use the parameters defined in the material instead of hardcoding
This was only useful for testing, the new renderer loads the parameters
the material stores now.
2024-04-27 18:44:53 -04:00
c1b45611a2 Decode material parameter names 2024-04-27 18:17:37 -04:00
a8d64a52df Properly transition image layouts and create barriers
This along with other misc fixes by listening to the validation layers
"fixes" specular, but just for the skin. I need to do some more work to
figure out why it doesn't work for character shaders yet.

Also introduces new helper functions to Device to easily transition
textures and name them.
2024-04-27 17:49:03 -04:00
1b73a3a540 Reuse the depth buffer in composite pass 2024-04-27 16:05:20 -04:00
b7a594e9d3 Trying to fix the alpha composite issues 2024-04-27 15:57:22 -04:00
b64c59ab76 Add temporary workarounds for tiled normals
We don't have any way of getting tiled materials yet, so enable simple
mode.
2024-04-27 15:25:02 -04:00
35dab8e925 Start working on semi-transparency composite
The composite renders and "works" but there's some sort of alpha issue.
2024-04-27 15:05:36 -04:00
ebae9caece Fix the material editor not working with the new renderer 2024-04-27 14:01:08 -04:00
2dff1230c2 Mention material editor in README 2024-04-27 13:47:15 -04:00
51ea3c3920 Create reusable material part
This takes the existing properties widget in the new material editor and
makes it reusable across multiple applications. It's now added to the
Armoury which shows the gear's used materials. It's also added to the
Data Explorer which now supports viewing material files.

I fixed the render viewport crashing when hiding it again, and made it
even more resilient.
2024-04-27 13:45:15 -04:00
5c31965691 Add visible textures to the material editor along with constants 2024-04-27 13:07:05 -04:00
e9c857a649 Use the correct TransformView value if the model is skinned or not 2024-04-27 12:42:31 -04:00
88e64b859d Use material's own shader keys if available
Instead of using the shader package default values
2024-04-27 12:29:19 -04:00
2325fdbad0 Begin adding textures to the material editor 2024-04-27 12:16:59 -04:00
5667ce2b46 Oops, forgot to bump libphysis 2024-04-26 23:13:01 -04:00
80e3cbde18 Expand the property editor to list known keys and values
There's no "selection" of possible material properties yet, but shows
keys/values set for the material and falls back to the shader defaults
when needed.
2024-04-26 23:11:40 -04:00
568b8f2eea Begin working on a material editor 2024-04-26 22:32:25 -04:00
853c288793 Manually copy KF6BreezeIcons.dll 2024-04-27 00:53:47 +00:00
85fe0db09e Build and use Breeze icons on Windows 2024-04-27 00:53:47 +00:00
167361186d Note that builds are now available via GitHub actions
Also remove the old SourceHut CI badge
2024-04-25 19:32:19 -04:00
1b802112f3 Rename GitHub actions file 2024-04-25 19:30:20 -04:00
a7d861e132 Remove old CI file 2024-04-25 19:30:02 -04:00
da095e63c1 Add icoutils dependency on Windows
This is used for icon generation by ECM
2024-04-25 19:29:47 -04:00
6fdf41e7b1 Don't mark argcracker as a GUI application on Windows & macOS 2024-04-25 19:23:08 -04:00
9d364579b7 Remove OpenGL software driver in Windows archive 2024-04-25 19:19:01 -04:00
ada43f9937 Set better executables on Windows
We don't have to worry about clogging up a central bin dir on Windows,
so we can choose more generic names for the tools.
2024-04-25 19:17:33 -04:00
5d5d85b113 Add app icons for Windows/macOS 2024-04-25 19:11:00 -04:00
a0e3e41303 Fix rendering on Windows
At least on my machine, the AMD Windows Vulkan driver is way more strict
compared to Linux.

* The correct device features are now enabled.
* Image usage flags for offscreen textures are corrected.
2024-04-25 18:48:21 -04:00
21e7313efd
Don't install icons and .desktop files on Windows 2024-04-25 22:47:16 +00:00
97fb8d0b32 Mention you still need Rust on Windows 2024-04-25 22:11:09 +00:00
7f96011984 Fix configure commands that had extra args 2024-04-25 22:11:09 +00:00
e700f9f9d2 Use all available processor cores 2024-04-25 22:11:09 +00:00
5c1b12491d Mention that Qt must be in PATH when building on Windows 2024-04-25 22:11:09 +00:00
286bc1c7f1 Fix extra CMake arguments not getting passed
I guess $Args is some kind of protected keyword, because it doesn't work
2024-04-25 22:11:09 +00:00
df61d55911 Check compile result before continuing 2024-04-25 22:11:09 +00:00
NotNite
689010a422 Add SPDX headers 2024-04-25 22:11:09 +00:00
66e0005fc1 Do shallow clones when using windows-setup.ps1
These library clones aren't meant for real development, so there's no
reason to download more than the current commit.
2024-04-25 22:11:09 +00:00
920180b51a Introduce a standard Clone function
So it can check if a source directory already exists, and introduces
some better error handling when things go ary.
2024-04-25 22:11:09 +00:00
NotNite
080cf69fab Add scripts for building on Windows 2024-04-25 22:11:09 +00:00
2844231996
Enable Windows and Linux packaging
The Windows version isn't super working yet, but this is a good step forward
2024-04-25 02:31:40 +00:00
1e898130b9
Add GitHub actions
It now builds Novus (and it's dependencies) for Windows and Linux. Artifacts and macOS support will come later.
2024-04-24 21:39:43 +00:00
503cbbc5cb Note that git submodules must be cloned 2024-04-22 16:20:04 -04:00
ef8cec1977 Note that there's no builds at the moment in the README 2024-04-22 16:17:46 -04:00
a443c66a3f Remove CONTRIBUTING (merge it into README) and fix BUILDING instructions 2024-04-22 16:16:50 -04:00
0245e15ddf Fix the wrong folder-symbolic icon being used
This affected dark themes, oops.
2024-04-22 16:12:44 -04:00
cf6b97930f Allow empty materials that have no set shader package 2024-04-22 16:12:26 -04:00
cb18b54cde Add a map editor icon, fix .desktop file 2024-04-22 16:12:08 -04:00
75ab62ba71 Update READMEs, update screenshots 2024-04-22 16:11:54 -04:00
04717aea62 Add missing header in swapchain.h 2024-04-22 15:47:45 -04:00