diff options
| author | yum <yum.food.vr@gmail.com> | 2025-02-12 01:24:49 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-02-12 01:24:49 -0800 |
| commit | caf02458737f93b20978f41613ad5b56e074e154 (patch) | |
| tree | b7b3c0ab468d858d71f4fa96f2b420b7ad5ab98a /features.cginc | |
| parent | 498ffebe9524871e9442e58eb0c3760a5463ffbc (diff) | |
Add a bunch of features
* stereo instancing
* outlines
* shadows (casting & receiving)
* unity fog
* blend modes
* wrapped lighting (generalized half lambertian)
* diffuse & specular have independent knobs
Also:
* fix bug where shadow caster wouldn't clip in cutout mode.
* remove a bunch of unused params
* use ifex to minimize size of locked materials (more to be done
probably)
* improve formatting
Diffstat (limited to 'features.cginc')
| -rw-r--r-- | features.cginc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/features.cginc b/features.cginc new file mode 100644 index 0000000..c586f4a --- /dev/null +++ b/features.cginc @@ -0,0 +1,12 @@ +#ifndef __FEATURES_INC +#define __FEATURES_INC + +//ifex _Wrapped_Lighting_Enabled==0 +#pragma shader_feature _WRAPPED_LIGHTING +//endex +//ifex _Outline_Mask_Enabled==1 +#pragma shader_feature _OUTLINE_MASK +//endex + +#endif // __FEATURES_INC + |
