mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
some hints what needs to be done before that damn thing works like intended #1
This commit is contained in:
@@ -6,6 +6,8 @@ project(MaShaderCompiler)
|
|||||||
|
|
||||||
file(GLOB_RECURSE src "src/*.cpp" "src/*.hpp")
|
file(GLOB_RECURSE src "src/*.cpp" "src/*.hpp")
|
||||||
|
|
||||||
|
# Confirmed to work with DXC distributed via VCPKG. Your mileage may vary
|
||||||
|
# TODO Make sure that it works as well for people who do not use VCPKG
|
||||||
find_package(directx-dxc CONFIG REQUIRED)
|
find_package(directx-dxc CONFIG REQUIRED)
|
||||||
|
|
||||||
add_executable(MaShaderCompiler ${src})
|
add_executable(MaShaderCompiler ${src})
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
templates:
|
templates:
|
||||||
# Partially pre-filled containers to avoid excessive copypasta
|
# Partially pre-filled containers to avoid excessive copypasta
|
||||||
XeGTAO:
|
XeGTAO:
|
||||||
|
# TODO Depth conversion is broken since converting to reversed depth buffer
|
||||||
|
# after attempting to fix it, it is still broken but with hardcoded values
|
||||||
source: XeGTAO/GTAO
|
source: XeGTAO/GTAO
|
||||||
target: compute
|
target: compute
|
||||||
definitions: # TODO (mostly) move to shader file I guess
|
definitions: # TODO (mostly) move to shader file I guess
|
||||||
@@ -152,6 +154,7 @@ shaders:
|
|||||||
target: pixel
|
target: pixel
|
||||||
entrypoint: main
|
entrypoint: main
|
||||||
# Contact shadows
|
# Contact shadows
|
||||||
|
# TODO Depth conversion is broken since converting to reversed depth buffer
|
||||||
contact_shadows:
|
contact_shadows:
|
||||||
source: contact_shadows
|
source: contact_shadows
|
||||||
target: compute
|
target: compute
|
||||||
|
|||||||
Reference in New Issue
Block a user