mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
add depth prepass in preparation for moving from deferred back to forward renderer
This commit is contained in:
@@ -157,6 +157,12 @@ shaders:
|
||||
source: ps_shadow_masked
|
||||
target: pixel
|
||||
entrypoint: main
|
||||
prepass_masked:
|
||||
source: ps_shadow_masked
|
||||
target: pixel
|
||||
entrypoint: main
|
||||
definitions:
|
||||
PREPASS: 1
|
||||
# Contact shadows
|
||||
# TODO Depth conversion is broken since converting to reversed depth buffer
|
||||
contact_shadows:
|
||||
@@ -173,6 +179,12 @@ shaders:
|
||||
source: default_vertex
|
||||
target: vertex
|
||||
entrypoint: main
|
||||
default_prepass_vertex:
|
||||
source: default_vertex
|
||||
target: vertex
|
||||
entrypoint: main
|
||||
definitions:
|
||||
PREPASS: 1
|
||||
shadow_vertex:
|
||||
source: shadow_vertex
|
||||
target: vertex
|
||||
@@ -185,6 +197,12 @@ shaders:
|
||||
source: instanced_vertex
|
||||
target: vertex
|
||||
entrypoint: main
|
||||
instanced_prepass_vertex:
|
||||
source: instanced_vertex
|
||||
target: vertex
|
||||
entrypoint: main
|
||||
definitions:
|
||||
PREPASS: 1
|
||||
instanced_shadow_vertex:
|
||||
source: instanced_shadow_vertex
|
||||
target: vertex
|
||||
|
||||
Reference in New Issue
Block a user