mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 19:49:19 +02:00
add depth prepass in preparation for moving from deferred back to forward renderer
This commit is contained in:
@@ -3,8 +3,13 @@
|
||||
sampler diffuse_sampler : register(s0);
|
||||
Texture2D diffuse : register(t0);
|
||||
|
||||
#ifdef PREPASS
|
||||
#include "manul/draw_constants.hlsli"
|
||||
#else
|
||||
#include "manul/draw_constants_shadow.hlsli"
|
||||
#endif
|
||||
|
||||
#define SHADOW
|
||||
#include "manul/alpha_mask.hlsli"
|
||||
|
||||
struct VertexOutput {
|
||||
|
||||
Reference in New Issue
Block a user