Updated OutlineScope;
Reorgnize shader code;
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
16
Runtime/Models/SurfaceFeature.cs.hlsl
Normal file
16
Runtime/Models/SurfaceFeature.cs.hlsl
Normal 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
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec297400b1508d647a7cdbad2c0edf40
|
||||
guid: 1ae94e9055342d643a02bd5b4a9fa20b
|
||||
ShaderIncludeImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
2
Runtime/Models/SurfaceFeature.cs.meta
Normal file
2
Runtime/Models/SurfaceFeature.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 598a7ef5d67c6334ca8f930f37ea989b
|
||||
@@ -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
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 737ea728a50a7664b90cba3dd3e21249
|
||||
Reference in New Issue
Block a user