diff options
| author | yum <yum.food.vr@gmail.com> | 2026-03-16 18:27:03 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-03-16 18:27:03 -0700 |
| commit | 11e9d97c5ac694773149d6059f90c670b9c00262 (patch) | |
| tree | aaaa3df4850a331896a841347890679aaf186dc7 /3ner.cginc | |
| parent | 1b33beea4e07afe9709c5c8b9a933c0717fae74c (diff) | |
Misc
Diffstat (limited to '3ner.cginc')
| -rwxr-xr-x | 3ner.cginc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -287,13 +287,14 @@ void geom(triangle v2f tri_in[3], } //endex -float4 frag(v2f i, uint facing : SV_IsFrontFace - ) : SV_Target { +float4 frag_shadow_caster(v2f i) : SV_Target { UNITY_SETUP_INSTANCE_ID(i); -#if defined(SHADOW_CASTER_PASS) return 0; -#endif +} +float4 frag(v2f i, uint facing : SV_IsFrontFace + ) : SV_Target { + UNITY_SETUP_INSTANCE_ID(i); #if defined(_RAY_MARCHING) const bool is_fragment = true; ray_march(i, is_fragment); |
