Updated OutlineScope;

Reorgnize shader code;
This commit is contained in:
2025-02-03 13:46:31 +09:00
parent 281dfbc4f0
commit 886432db7b
24 changed files with 275 additions and 293 deletions

View File

@@ -5,12 +5,11 @@ namespace Misaki.HdrpToon
{
[Flags]
[GenerateHLSL(PackingRules.Exact)]
public enum SurfaceFeatureFlags
public enum SurfaceFeature
{
None = 0,
RimLight = 1 << 0,
Stocking = 1 << 1,
AngelRing = 1 << 2,
Outline = 1 << 3
AngelRing = 1 << 2
}
}

View File

@@ -0,0 +1,16 @@
//
// This file was automatically generated. Please don't edit by hand. Execute Editor command [ Edit > Rendering > Generate Shader Includes ] instead
//
#ifndef SURFACEFEATURE_CS_HLSL
#define SURFACEFEATURE_CS_HLSL
//
// Misaki.HdrpToon.SurfaceFeature: static fields
//
#define SURFACEFEATURE_NONE (0)
#define SURFACEFEATURE_RIM_LIGHT (1)
#define SURFACEFEATURE_STOCKING (2)
#define SURFACEFEATURE_ANGEL_RING (4)
#endif

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ec297400b1508d647a7cdbad2c0edf40
guid: 1ae94e9055342d643a02bd5b4a9fa20b
ShaderIncludeImporter:
externalObjects: {}
userData:

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 598a7ef5d67c6334ca8f930f37ea989b

View File

@@ -1,16 +0,0 @@
//
// This file was automatically generated. Please don't edit by hand. Execute Editor command [ Edit > Rendering > Generate Shader Includes ] instead
//
#ifndef SURFACEFEATUREFLAGS_CS_HLSL
#define SURFACEFEATUREFLAGS_CS_HLSL
//
// Misaki.HdrpToon.SurfaceFeatureFlags: static fields
//
#define SURFACEFEATUREFLAGS_RIM_LIGHT (1)
#define SURFACEFEATUREFLAGS_STOCKING (2)
#define SURFACEFEATUREFLAGS_ANGEL_RING (4)
#define SURFACEFEATUREFLAGS_OUTLINE (8)
#endif

View File

@@ -1,2 +0,0 @@
fileFormatVersion: 2
guid: 737ea728a50a7664b90cba3dd3e21249