using Godot; namespace Rokojori { // Generated by ShaderClassGenerator public class CCHairShadowShader { public static readonly CachedResource shader = new CachedResource( "res://addons/rokojori_action_library/Runtime/Reallusion/Shaders/Hair/Variants/CCHairShadow.gdshader" ); public static readonly BoolPropertyName enabled = BoolPropertyName.Create( "enabled" ); public static readonly ColorPropertyName albedo = ColorPropertyName.Create( "albedo" ); public static readonly Texture2DPropertyName textureAlbedo = Texture2DPropertyName.Create( "texture_albedo" ); public static readonly Vector3PropertyName hslOffset = Vector3PropertyName.Create( "hslOffset" ); public static readonly Texture2DPropertyName textureBlend = Texture2DPropertyName.Create( "texture_blend" ); public static readonly FloatPropertyName blendAmount = FloatPropertyName.Create( "blendAmount" ); public static readonly FloatPropertyName naturalColors = FloatPropertyName.Create( "naturalColors" ); public static readonly Texture2DPropertyName textureOpacity = Texture2DPropertyName.Create( "texture_opacity" ); public static readonly FloatPropertyName opacity = FloatPropertyName.Create( "opacity" ); public static readonly FloatPropertyName opacityGamma = FloatPropertyName.Create( "opacityGamma" ); public static readonly FloatPropertyName opacityFarScale = FloatPropertyName.Create( "opacityFarScale" ); public static readonly FloatPropertyName opacityBlur = FloatPropertyName.Create( "opacityBlur" ); public static readonly FloatPropertyName opacityBlurFarScale = FloatPropertyName.Create( "opacityBlurFarScale" ); public static readonly FloatPropertyName opacityFarStart = FloatPropertyName.Create( "opacityFarStart" ); public static readonly FloatPropertyName opacityFarRange = FloatPropertyName.Create( "opacityFarRange" ); public static readonly FloatPropertyName opacityFarPower = FloatPropertyName.Create( "opacityFarPower" ); public static readonly FloatPropertyName extending = FloatPropertyName.Create( "extending" ); public static readonly Texture2DPropertyName rootMap = Texture2DPropertyName.Create( "rootMap" ); public static readonly Texture2DPropertyName flowMap = Texture2DPropertyName.Create( "flowMap" ); public static readonly Texture2DPropertyName idMap = Texture2DPropertyName.Create( "idMap" ); public static readonly FloatPropertyName diffuseStrength = FloatPropertyName.Create( "diffuseStrength" ); public static readonly FloatPropertyName vertexColorStrength = FloatPropertyName.Create( "vertexColorStrength" ); public static readonly ColorPropertyName vertexGreyToColor = ColorPropertyName.Create( "vertexGreyToColor" ); public static readonly BoolPropertyName activateHairColor = BoolPropertyName.Create( "activateHairColor" ); public static readonly FloatPropertyName baseColorMapStrength = FloatPropertyName.Create( "baseColorMapStrength" ); public static readonly ColorPropertyName strandRootColor = ColorPropertyName.Create( "strandRootColor" ); public static readonly FloatPropertyName strandRootStrength = FloatPropertyName.Create( "strandRootStrength" ); public static readonly ColorPropertyName strandEndColor = ColorPropertyName.Create( "strandEndColor" ); public static readonly FloatPropertyName strandEndStrength = FloatPropertyName.Create( "strandEndStrength" ); public static readonly FloatPropertyName strandGamma = FloatPropertyName.Create( "strandGamma" ); public static readonly FloatPropertyName maximumHighlightAmount = FloatPropertyName.Create( "maximumHighlightAmount" ); public static readonly FloatPropertyName highlightFadeOutStart = FloatPropertyName.Create( "highlightFadeOutStart" ); public static readonly FloatPropertyName highlightFadeOutEnd = FloatPropertyName.Create( "highlightFadeOutEnd" ); public static readonly FloatPropertyName highlightFadeOutPower = FloatPropertyName.Create( "highlightFadeOutPower" ); public static readonly FloatPropertyName highlightFadeOutAmount = FloatPropertyName.Create( "highlightFadeOutAmount" ); public static readonly ColorPropertyName highlightAColor = ColorPropertyName.Create( "highlightAColor" ); public static readonly FloatPropertyName highlightAStrength = FloatPropertyName.Create( "highlightAStrength" ); public static readonly Vector3PropertyName highlightARange = Vector3PropertyName.Create( "highlightARange" ); public static readonly FloatPropertyName highlightAOverlapEnd = FloatPropertyName.Create( "highlightAOverlapEnd" ); public static readonly FloatPropertyName highlightAInvert = FloatPropertyName.Create( "highlightAInvert" ); public static readonly ColorPropertyName highlightBColor = ColorPropertyName.Create( "highlightBColor" ); public static readonly FloatPropertyName highlightBStrength = FloatPropertyName.Create( "highlightBStrength" ); public static readonly Vector3PropertyName highlightBRange = Vector3PropertyName.Create( "highlightBRange" ); public static readonly FloatPropertyName highlightBOverlapEnd = FloatPropertyName.Create( "highlightBOverlapEnd" ); public static readonly FloatPropertyName highlightBInvert = FloatPropertyName.Create( "highlightBInvert" ); public static readonly FloatPropertyName roughness = FloatPropertyName.Create( "roughness" ); public static readonly FloatPropertyName roughnessOffset = FloatPropertyName.Create( "roughnessOffset" ); public static readonly Texture2DPropertyName textureRoughness = Texture2DPropertyName.Create( "texture_roughness" ); public static readonly FloatPropertyName metallic = FloatPropertyName.Create( "metallic" ); public static readonly FloatPropertyName metallicOffset = FloatPropertyName.Create( "metallicOffset" ); public static readonly Texture2DPropertyName textureMetallic = Texture2DPropertyName.Create( "texture_metallic" ); public static readonly FloatPropertyName specular = FloatPropertyName.Create( "specular" ); public static readonly FloatPropertyName specularOpacityAmount = FloatPropertyName.Create( "specularOpacityAmount" ); public static readonly FloatPropertyName specularOpacityGamma = FloatPropertyName.Create( "specularOpacityGamma" ); public static readonly FloatPropertyName anisotropyRatio = FloatPropertyName.Create( "anisotropy_ratio" ); public static readonly Texture2DPropertyName textureEmission = Texture2DPropertyName.Create( "texture_emission" ); public static readonly ColorPropertyName emission = ColorPropertyName.Create( "emission" ); public static readonly FloatPropertyName emissionEnergy = FloatPropertyName.Create( "emission_energy" ); public static readonly ColorPropertyName backlight = ColorPropertyName.Create( "backlight" ); public static readonly FloatPropertyName albedoToBacklightAmount = FloatPropertyName.Create( "albedoToBacklightAmount" ); public static readonly Texture2DPropertyName textureBacklight = Texture2DPropertyName.Create( "texture_backlight" ); public static readonly FloatPropertyName subsurfaceScatteringStrength = FloatPropertyName.Create( "subsurface_scattering_strength" ); public static readonly Texture2DPropertyName textureAmbientOcclusion = Texture2DPropertyName.Create( "texture_ambient_occlusion" ); public static readonly FloatPropertyName aoLightAffect = FloatPropertyName.Create( "ao_light_affect" ); public static readonly FloatPropertyName ambientOcclusion = FloatPropertyName.Create( "ambientOcclusion" ); public static readonly FloatPropertyName aoGamma = FloatPropertyName.Create( "aoGamma" ); public static readonly FloatPropertyName rootOcclusionAmount = FloatPropertyName.Create( "rootOcclusionAmount" ); public static readonly FloatPropertyName rootOcclusionRange = FloatPropertyName.Create( "rootOcclusionRange" ); public static readonly FloatPropertyName endOcclusionAmount = FloatPropertyName.Create( "endOcclusionAmount" ); public static readonly FloatPropertyName endOcclusionRange = FloatPropertyName.Create( "endOcclusionRange" ); public static readonly FloatPropertyName rootBasedOcclusion = FloatPropertyName.Create( "rootBasedOcclusion" ); } [Tool] public partial class CCHairShadowMaterial:CustomMaterial { public readonly CustomMaterialProperty enabled; public readonly CustomMaterialProperty albedo; public readonly CustomMaterialProperty textureAlbedo; public readonly CustomMaterialProperty hslOffset; public readonly CustomMaterialProperty textureBlend; public readonly CustomMaterialProperty blendAmount; public readonly CustomMaterialProperty naturalColors; public readonly CustomMaterialProperty textureOpacity; public readonly CustomMaterialProperty opacity; public readonly CustomMaterialProperty opacityGamma; public readonly CustomMaterialProperty opacityFarScale; public readonly CustomMaterialProperty opacityBlur; public readonly CustomMaterialProperty opacityBlurFarScale; public readonly CustomMaterialProperty opacityFarStart; public readonly CustomMaterialProperty opacityFarRange; public readonly CustomMaterialProperty opacityFarPower; public readonly CustomMaterialProperty extending; public readonly CustomMaterialProperty rootMap; public readonly CustomMaterialProperty flowMap; public readonly CustomMaterialProperty idMap; public readonly CustomMaterialProperty diffuseStrength; public readonly CustomMaterialProperty vertexColorStrength; public readonly CustomMaterialProperty vertexGreyToColor; public readonly CustomMaterialProperty activateHairColor; public readonly CustomMaterialProperty baseColorMapStrength; public readonly CustomMaterialProperty strandRootColor; public readonly CustomMaterialProperty strandRootStrength; public readonly CustomMaterialProperty strandEndColor; public readonly CustomMaterialProperty strandEndStrength; public readonly CustomMaterialProperty strandGamma; public readonly CustomMaterialProperty maximumHighlightAmount; public readonly CustomMaterialProperty highlightFadeOutStart; public readonly CustomMaterialProperty highlightFadeOutEnd; public readonly CustomMaterialProperty highlightFadeOutPower; public readonly CustomMaterialProperty highlightFadeOutAmount; public readonly CustomMaterialProperty highlightAColor; public readonly CustomMaterialProperty highlightAStrength; public readonly CustomMaterialProperty highlightARange; public readonly CustomMaterialProperty highlightAOverlapEnd; public readonly CustomMaterialProperty highlightAInvert; public readonly CustomMaterialProperty highlightBColor; public readonly CustomMaterialProperty highlightBStrength; public readonly CustomMaterialProperty highlightBRange; public readonly CustomMaterialProperty highlightBOverlapEnd; public readonly CustomMaterialProperty highlightBInvert; public readonly CustomMaterialProperty roughness; public readonly CustomMaterialProperty roughnessOffset; public readonly CustomMaterialProperty textureRoughness; public readonly CustomMaterialProperty metallic; public readonly CustomMaterialProperty metallicOffset; public readonly CustomMaterialProperty textureMetallic; public readonly CustomMaterialProperty specular; public readonly CustomMaterialProperty specularOpacityAmount; public readonly CustomMaterialProperty specularOpacityGamma; public readonly CustomMaterialProperty anisotropyRatio; public readonly CustomMaterialProperty textureEmission; public readonly CustomMaterialProperty emission; public readonly CustomMaterialProperty emissionEnergy; public readonly CustomMaterialProperty backlight; public readonly CustomMaterialProperty albedoToBacklightAmount; public readonly CustomMaterialProperty textureBacklight; public readonly CustomMaterialProperty subsurfaceScatteringStrength; public readonly CustomMaterialProperty textureAmbientOcclusion; public readonly CustomMaterialProperty aoLightAffect; public readonly CustomMaterialProperty ambientOcclusion; public readonly CustomMaterialProperty aoGamma; public readonly CustomMaterialProperty rootOcclusionAmount; public readonly CustomMaterialProperty rootOcclusionRange; public readonly CustomMaterialProperty endOcclusionAmount; public readonly CustomMaterialProperty endOcclusionRange; public readonly CustomMaterialProperty rootBasedOcclusion; public CCHairShadowMaterial() { Shader = CCHairShadowShader.shader.Get(); enabled = new CustomMaterialProperty( this, CCHairShadowShader.enabled ); albedo = new CustomMaterialProperty( this, CCHairShadowShader.albedo ); textureAlbedo = new CustomMaterialProperty( this, CCHairShadowShader.textureAlbedo ); hslOffset = new CustomMaterialProperty( this, CCHairShadowShader.hslOffset ); textureBlend = new CustomMaterialProperty( this, CCHairShadowShader.textureBlend ); blendAmount = new CustomMaterialProperty( this, CCHairShadowShader.blendAmount ); naturalColors = new CustomMaterialProperty( this, CCHairShadowShader.naturalColors ); textureOpacity = new CustomMaterialProperty( this, CCHairShadowShader.textureOpacity ); opacity = new CustomMaterialProperty( this, CCHairShadowShader.opacity ); opacityGamma = new CustomMaterialProperty( this, CCHairShadowShader.opacityGamma ); opacityFarScale = new CustomMaterialProperty( this, CCHairShadowShader.opacityFarScale ); opacityBlur = new CustomMaterialProperty( this, CCHairShadowShader.opacityBlur ); opacityBlurFarScale = new CustomMaterialProperty( this, CCHairShadowShader.opacityBlurFarScale ); opacityFarStart = new CustomMaterialProperty( this, CCHairShadowShader.opacityFarStart ); opacityFarRange = new CustomMaterialProperty( this, CCHairShadowShader.opacityFarRange ); opacityFarPower = new CustomMaterialProperty( this, CCHairShadowShader.opacityFarPower ); extending = new CustomMaterialProperty( this, CCHairShadowShader.extending ); rootMap = new CustomMaterialProperty( this, CCHairShadowShader.rootMap ); flowMap = new CustomMaterialProperty( this, CCHairShadowShader.flowMap ); idMap = new CustomMaterialProperty( this, CCHairShadowShader.idMap ); diffuseStrength = new CustomMaterialProperty( this, CCHairShadowShader.diffuseStrength ); vertexColorStrength = new CustomMaterialProperty( this, CCHairShadowShader.vertexColorStrength ); vertexGreyToColor = new CustomMaterialProperty( this, CCHairShadowShader.vertexGreyToColor ); activateHairColor = new CustomMaterialProperty( this, CCHairShadowShader.activateHairColor ); baseColorMapStrength = new CustomMaterialProperty( this, CCHairShadowShader.baseColorMapStrength ); strandRootColor = new CustomMaterialProperty( this, CCHairShadowShader.strandRootColor ); strandRootStrength = new CustomMaterialProperty( this, CCHairShadowShader.strandRootStrength ); strandEndColor = new CustomMaterialProperty( this, CCHairShadowShader.strandEndColor ); strandEndStrength = new CustomMaterialProperty( this, CCHairShadowShader.strandEndStrength ); strandGamma = new CustomMaterialProperty( this, CCHairShadowShader.strandGamma ); maximumHighlightAmount = new CustomMaterialProperty( this, CCHairShadowShader.maximumHighlightAmount ); highlightFadeOutStart = new CustomMaterialProperty( this, CCHairShadowShader.highlightFadeOutStart ); highlightFadeOutEnd = new CustomMaterialProperty( this, CCHairShadowShader.highlightFadeOutEnd ); highlightFadeOutPower = new CustomMaterialProperty( this, CCHairShadowShader.highlightFadeOutPower ); highlightFadeOutAmount = new CustomMaterialProperty( this, CCHairShadowShader.highlightFadeOutAmount ); highlightAColor = new CustomMaterialProperty( this, CCHairShadowShader.highlightAColor ); highlightAStrength = new CustomMaterialProperty( this, CCHairShadowShader.highlightAStrength ); highlightARange = new CustomMaterialProperty( this, CCHairShadowShader.highlightARange ); highlightAOverlapEnd = new CustomMaterialProperty( this, CCHairShadowShader.highlightAOverlapEnd ); highlightAInvert = new CustomMaterialProperty( this, CCHairShadowShader.highlightAInvert ); highlightBColor = new CustomMaterialProperty( this, CCHairShadowShader.highlightBColor ); highlightBStrength = new CustomMaterialProperty( this, CCHairShadowShader.highlightBStrength ); highlightBRange = new CustomMaterialProperty( this, CCHairShadowShader.highlightBRange ); highlightBOverlapEnd = new CustomMaterialProperty( this, CCHairShadowShader.highlightBOverlapEnd ); highlightBInvert = new CustomMaterialProperty( this, CCHairShadowShader.highlightBInvert ); roughness = new CustomMaterialProperty( this, CCHairShadowShader.roughness ); roughnessOffset = new CustomMaterialProperty( this, CCHairShadowShader.roughnessOffset ); textureRoughness = new CustomMaterialProperty( this, CCHairShadowShader.textureRoughness ); metallic = new CustomMaterialProperty( this, CCHairShadowShader.metallic ); metallicOffset = new CustomMaterialProperty( this, CCHairShadowShader.metallicOffset ); textureMetallic = new CustomMaterialProperty( this, CCHairShadowShader.textureMetallic ); specular = new CustomMaterialProperty( this, CCHairShadowShader.specular ); specularOpacityAmount = new CustomMaterialProperty( this, CCHairShadowShader.specularOpacityAmount ); specularOpacityGamma = new CustomMaterialProperty( this, CCHairShadowShader.specularOpacityGamma ); anisotropyRatio = new CustomMaterialProperty( this, CCHairShadowShader.anisotropyRatio ); textureEmission = new CustomMaterialProperty( this, CCHairShadowShader.textureEmission ); emission = new CustomMaterialProperty( this, CCHairShadowShader.emission ); emissionEnergy = new CustomMaterialProperty( this, CCHairShadowShader.emissionEnergy ); backlight = new CustomMaterialProperty( this, CCHairShadowShader.backlight ); albedoToBacklightAmount = new CustomMaterialProperty( this, CCHairShadowShader.albedoToBacklightAmount ); textureBacklight = new CustomMaterialProperty( this, CCHairShadowShader.textureBacklight ); subsurfaceScatteringStrength = new CustomMaterialProperty( this, CCHairShadowShader.subsurfaceScatteringStrength ); textureAmbientOcclusion = new CustomMaterialProperty( this, CCHairShadowShader.textureAmbientOcclusion ); aoLightAffect = new CustomMaterialProperty( this, CCHairShadowShader.aoLightAffect ); ambientOcclusion = new CustomMaterialProperty( this, CCHairShadowShader.ambientOcclusion ); aoGamma = new CustomMaterialProperty( this, CCHairShadowShader.aoGamma ); rootOcclusionAmount = new CustomMaterialProperty( this, CCHairShadowShader.rootOcclusionAmount ); rootOcclusionRange = new CustomMaterialProperty( this, CCHairShadowShader.rootOcclusionRange ); endOcclusionAmount = new CustomMaterialProperty( this, CCHairShadowShader.endOcclusionAmount ); endOcclusionRange = new CustomMaterialProperty( this, CCHairShadowShader.endOcclusionRange ); rootBasedOcclusion = new CustomMaterialProperty( this, CCHairShadowShader.rootBasedOcclusion ); } } }