{ "Name": "PbrCommon", "OverrideMaterial": "engine:engineDefaults.rematerialdefinition", "Parameters": { "Constants": { "baseColorTint" : "[1,1,1,1, displayp3]", "subsurface" : "0", "metallicScale" : "0", "specularScale" : "0.5", "roughnessScale" : "1", "emissiveColor" : "[0,0,0, displayp3]", "emissiveScale" : "1", "emissiveScaleRGBA" : "[1,1,1,1]", "detailBaseColorIntensity" : "0.0", "detailNormalIntensity" : "0.0", "detailMetallicIntensity" : "0.0", "detailRoughnessIntensity" : "0.0", "detailSpecularIntensity" : "0.0", "lightmapIntensityLV" : "0.0", "uvTransform" : "[1,0,0,1]", "uvOffset" : "[0, 0]", "uvTransform1" : "[1,0,0,1]", "uvOffset1" : "[0, 0]", "clearcoatScale" : "1.0", "clearcoatRoughnessScale" : "0.01", "opacityThreshold" : "0.0", "opacityScale" : "1.0", "partDebugColor" : "[1,1,1, displayp3]", "sheenColor" : "[0.04, 0.04, 0.04, displayp3]", "ssoSamplingRadius" : "0.1", "ssoSamplingBias" : "0.0025", "anisotropyLevelScale" : "0", "anisotropyAngleScale" : "0", "filterCount" : "0", "meshScale" : "1.0" }, "Buffers": { "lightConstants" : "light.lightBuffer", "iblConstants" : "light.iblConstants", "envProbeTable" : "scene.envProbeTable", "specMaxEssAvgTable" : "brdf.specMaxEssAvgTable", "samplerIndexMap" : "samplers.dynamicSamplers", "clusterConstants" : "rendergraph.DEPRECATED", "clusterIndexTable" : "rendergraph.DEPRECATED", "clusterResultTable" : "rendergraph.DEPRECATED", "ssaoConstants" : "light.lightBuffer", "reGlowEffects" : "fallback.zeros2048bytes", "customBlendFilters" : "fallback.zeros" }, "Textures": { "textureBrdf" : "brdf.brdfMap", "textureClothBrdf" : "brdf.clothBrdfMap", "textureSpecMaxEss" : "brdf.specMaxEssMap", "texturePrefilteredDiffuse" : "scene.prefilteredDiffuseMap", "texturePrefilteredSpecular" : "scene.prefilteredSpecularMap", "texturePrefilteredBlendDiffuse" : "scene.prefilteredBlendDiffuseMap", "texturePrefilteredBlendSpecular" : "scene.prefilteredBlendSpecularMap", "textureAreaLightMaps" : "scene.areaLightMaps", "textureBaseColor" : "fallback.white", "textureAmbientOcclusion" : "fallback.white", "textureEmissive" : "fallback.black", "textureMetallic" : "fallback.white", "textureRoughness" : "fallback.white", "textureSpecular" : "fallback.white", "textureNormal" : "fallback.lightBlue", "textureOpacity" : "fallback.white", "textureAnisotropyLevel" : "fallback.white", "textureAnisotropyAngle" : "fallback.white", "textureClearcoatRoughness" : "fallback.white", "textureClearcoatNormal" : "fallback.lightBlue", "textureRMAS" : "fallback.white", "textureClearcoat" : "fallback.white", "textureSheenColor" : "fallback.white", "textureBlueNoise" : "engine:blueNoise64RGBA8.ktx", "envProbeCubeArray" : "scene.envProbeCubeArray", "envProbeDiffuseArray" : "scene.envProbeDiffuseArray", "envProbeCube" : "scene.envProbeCube", "envProbeDiffuse" : "scene.envProbeDiffuse", "envProbeTextureArray" : "scene.envProbeTextureArray", "texturePasstroughColor" : "rendergraph.texturePasstroughColor", "ssoGBufferPosition" : "rendergraph.SSO_GBuffer_Position", "ssoGBufferNormal" : "rendergraph.SSO_GBuffer_Normal", "ssoNoiseTexture" : "fallback.black", "textureBlurPlaneDepth" : "rendergraph.DEPRECATED", "texturePlanarReflection" : "fallback.blackArray", "dmWarpedAlphaMask" : "rendergraph.DMWarpedAlphaMask", "virtualProbeSpec0" : "scene.virtualProbeSpec0", "virtualProbeSpec1" : "scene.virtualProbeSpec1", "virtualProbeDiff0" : "scene.virtualProbeDiff0", "virtualProbeDiff1" : "scene.virtualProbeDiff1", "textureVisualDepth" : "rendergraph.VisualDepthTexture", "textureSUOcclusionAlphaMask": "rendergraph.SUOcclusionAlphaMask", "textureImmersiveEnvironmentMask" : "rendergraph.immersiveEnvironmentMask", "outerVirtualProbeSpec0" : "scene.outerVirtualProbeSpec0", "outerVirtualProbeSpec1" : "scene.outerVirtualProbeSpec1", "outerVirtualProbeDiff0" : "scene.outerVirtualProbeDiff0", "outerVirtualProbeDiff1" : "scene.outerVirtualProbeDiff1" }, "TextureBlocks": { "__placeholder": { "Texture": "fallback.white", "Sampler": "__placeholder" } }, "Samplers": { "__placeholder": {} } }, "ParameterProperties" : { "baseColorTint" : {}, "textureBaseColor" : { "DisplayName" : "Base Color Texture" }, "emissiveColor" : {}, "textureEmissive" : { "DisplayName" : "Emissive Texture" }, "emissiveScale" : {}, "textureMetallic" : { "DisplayName" : "Metallic Texture" }, "metallicScale" : {}, "textureSpecular" : { "DisplayName" : "Specular Texture" }, "specularScale" : {}, "textureRoughness" : { "DisplayName" : "Roughness Texture" }, "roughnessScale" : {}, "textureClearcoat" : { "DisplayName" : "Clear Coat Texture" }, "clearcoatScale" : {}, "textureClearcoatRoughness" : { "DisplayName" : "Clear Coat Roughness Texture" }, "clearcoatRoughnessScale" : {}, "textureClearcoatNormal" : { "DisplayName" : "Clear Coat Normal Texture" }, "textureAmbientOcclusion" : { "DisplayName" : "Ambient Occlusion Texture" }, "textureNormal" : { "DisplayName" : "Normal Texture" }, "sheenColor" : {}, "textureSheenColor" : { "DisplayName" : "Sheen Color Texture" }, "opacityThreshold" : {}, "opacityScale" : {}, "textureOpacity" : { "DisplayName" : "Opacity Texture" }, "lightmapIntensityLV" : { "DisplayName" : "Lightmap Intensity LV" }, "uvTransform" : { "DisplayName" : "Material UV Transform" }, "uvOffset" : { "DisplayName" : "Material UV Offset" } }, "DebugMappings": [ { "Name": "PbrDebug", "Mappings": { "NoDebug": 0, "BaseColorTexture": 1, "RoughnessTexture": 2, "MetallicTexture": 3, "AmbientOcclusionTexture": 4, "SpecularTexture": 5, "EmissiveTexture": 6, "OpacityTexture": 7, "RMASTexture": 8, "ClearCoatTexture": 9, "ClearCoatRoughnessTexture": 10, "ClothSheenTexture": 11, "NormalTexture": 12, "BaseColorMipLevel": 13, "RoughnessMipLevel": 14, "MetallicMipLevel": 15, "AmbientOcclusionMipLevel": 16, "SpecularMipLevel": 17, "EmissiveMipLevel": 18, "OpacityMipLevel": 19, "RMASMipLevel": 20, "ClearCoatMipLevel": 21, "ClearCoatRoughnessMipLevel": 22, "ClothSheenMipLevel": 23, "NormalMipLevel": 24, "VertexUV": 25, "VertexNormal": 26, "VertexTangent": 27, "VertexBitangent": 28, "VertexColor": 29, "DerivedNormal": 30, "DerivedTangent": 31, "DerivedBitangent": 32, "DerivedBaseColor": 33, "DerivedRoughness": 34, "DerivedMetallic": 35, "DerivedAmbientOcclusion": 36, "DerivedSpecular": 37, "DerivedEmissive": 38, "DerivedClearcoat": 39, "DerivedClearcoatRoughness": 40, "IlluminationDiffuse": 41, "IlluminationSpecular": 42, "FinalColor": 43, "FinalAlpha": 44, "VertexUV1": 45, "Breakthrough": 46, "DistanceToGazeHitPoint": 47, "DepthMitigation": 48, "DepthMitigationDarkening": 49, "PerPixelNearFieldVignetting": 50, "Clipping": 51, "ClearCoatNormalTexture": 52, "ClearCoatNormalMipLevel": 53, "DerivedClearcoatNormal": 54, "LightCountLimit": 55, "UIBlending": 57, "ShadowMapSelection": 58 } } ], "Techniques": [ { "Name": "Transparent", "VertexShader": { "Entry": "vsRealityPbr" }, "PixelShader": { "Entry": "fsRealityPbr" }, "State" : { "WriteDepth" : true, "DepthCompareFunction" : "GreaterEqual", "RenderAttachmentState" : [ { "PreferProgrammableBlending" : true, "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "OneMinusSourceAlpha", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "OneMinusSourceAlpha" }, { "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "OneMinusSourceAlpha", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "OneMinusSourceAlpha" } ] }, "FunctionConstants" : { "EnableBaseColorMap" : "true", "EnableNormalMap" : "true", "EnableEmissiveMap" : "true", "EnableAreaLight" : "true", "EnableSeparateRMAS" : "true", "EnableSingleRMAS" : "false", "EnableRoughnessMap" : "true", "EnableMetallicMap" : "true", "EnableAOMap" : "true", "EnableSpecularMap" : "true", "EnableTransparency" : "true", "EnableOpacityMap" : "true", "EnableOpacityThreshold" : "false", "EnableClearcoat" : "false", "EnableClearcoatNormalMap" : "false", "VertexColorOption" : "0", "EnableIBL" : "true", "EnableAREnvProbe" : "false", "EnableDynamicLighting" : "false", "EnableCloth" : "false", "EnableSSAO" : "false", "EnableSSDO" : "false", "EnableAnisotropy" : "false", "EnableMultiscatter" : "true", "EnableBtMask" : "false", "EnableUIBlending" : "false", "EnableGlow" : "false", "EnableNearFieldVignetting" : "false", "EnableIBLRotation" : "false", "EnableSpecularPerQuadRoughness" : "false", "PortalClippingMode" : "0", "EnableVirtualEnvironmentProbes" : "false", "EnableISPTonemap" : "true", "PortalEnableProbeLightingBlend" : "false" }, "DefaultVariations" : [ "TransparentCommon", "TextureCommon" ], "InstancedArguments" : [ "instanceConstantsArray", "realityPbrConstantsArray" ], "DebugMapping": "PbrDebug", "SupportsRuntimeFunctionConstants" : true, "UseDynamicAttributeStride" : true, "AllowRuntimeTechniqueStateOverride" : true, "IsPrecompiled" : true }, { "Name": "TransparentLite", "VertexShader": { "Entry": "vsRealityPbr" }, "PixelShader": { "Entry": "fsRealityPbr" }, "State" : { "WriteDepth" : true, "DepthCompareFunction" : "GreaterEqual", "RenderAttachmentState" : [ { "PreferProgrammableBlending" : true, "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "OneMinusSourceAlpha", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "OneMinusSourceAlpha" }, { "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "OneMinusSourceAlpha", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "OneMinusSourceAlpha" } ] }, "FunctionConstants" : { "EnableClearcoat" : "false", "EnableClearcoatNormalMap" : "false", "VertexColorOption" : "0", "EnableIBL" : "true", "EnableAREnvProbe" : "false", "EnableDynamicLighting" : "false", "EnableCloth" : "false", "EnableSSAO" : "false", "EnableSSDO" : "false", "EnableAnisotropy" : "false", "EnableAreaLight" : "false", "EnableBaseColorMap" : "true", "EnableEmissiveMap" : "false", "EnableSeparateRMAS" : "true", "EnableSingleRMAS" : "false", "EnableRoughnessMap" : "false", "EnableMetallicMap" : "false", "EnableAOMap" : "false", "EnableSpecularMap" : "false", "EnableTransparency" : "true", "EnableOpacityMap" : "true", "EnableOpacityThreshold" : "false", "EnableNormalMap" : "false", "EnableWorldSpaceNormalMap" : "false", "EnableMultiscatter" : "true", "EnableNdfFiltering" : "true", "EnableIBLRotation" : "false", "EnableIBLDirectionsBend" : "false", "DiffuseOption" : "1", "SpecularOption" : "1", "EnableShadowedDynamicLight": "false", "EnableGlow" : "false", "EnableBtMask" : "false", "EnableUIBlending" : "false", "EnableNearFieldVignetting" : "false", "EnableSpecularPerQuadRoughness" : "true", "PortalClippingMode" : "0", "EnableVirtualEnvironmentProbes" : "false", "EnableISPTonemap" : "true", "PortalEnableProbeLightingBlend" : "false" }, "DefaultVariations" : [ "TransparentCommon", "TextureCommon" ], "DebugMapping": "PbrDebug", "SupportsRuntimeFunctionConstants" : true, "PreloadOptions" : { "PixelFormat" : [81, 115], "SampleCount" : [4, 1] }, "UseDynamicAttributeStride" : true, "AllowRuntimeTechniqueStateOverride" : true }, { "Name": "Opaque", "VertexShader": { "Entry": "vsRealityPbr" }, "PixelShader": { "Entry": "fsRealityPbr" }, "State" : { "AlphaBlend" : false, "WriteDepth" : true, "DepthCompareFunction" : "GreaterEqual" }, "FunctionConstants" : { "EnableBaseColorMap" : "true", "EnableNormalMap" : "true", "EnableEmissiveMap" : "true", "EnableAreaLight" : "true", "EnableSeparateRMAS" : "true", "EnableSingleRMAS" : "false", "EnableRoughnessMap" : "true", "EnableMetallicMap" : "true", "EnableAOMap" : "true", "EnableSpecularMap" : "true", "EnableClearcoat" : "false", "EnableClearcoatNormalMap" : "false", "EnableOpacityMap" : "false", "EnableOpacityThreshold" : "false", "EnableTransparency" : "false", "VertexColorOption" : "0", "EnableIBL" : "true", "UseBaseColorMapAsTintMask" : "false", "EnableAREnvProbe" : "false", "EnableDynamicLighting" : "false", "EnableCloth" : "false", "EnableSSAO" : "false", "EnableSSDO" : "false", "EnableAnisotropy" : "false", "EnableMultiscatter" : "true", "EnableBtMask" : "false", "EnableUIBlending" : "false", "EnableGlow" : "false", "EnableNearFieldVignetting" : "false", "EnableIBLRotation" : "false", "EnableSpecularPerQuadRoughness" : "false", "DisableFadeOpacity" : "true", "PortalClippingMode" : "0", "EnableVirtualEnvironmentProbes" : "false", "EnableISPTonemap" : "true", "PortalEnableProbeLightingBlend" : "false" }, "DefaultVariations" : [ "OpaqueCommon", "TextureCommon" ], "InstancedArguments" : [ "instanceConstantsArray", "realityPbrConstantsArray" ], "DebugMapping": "PbrDebug", "SupportsRuntimeFunctionConstants" : true, "UseDynamicAttributeStride" : true, "AllowRuntimeTechniqueStateOverride" : true, "IsPrecompiled" : true }, { "Name": "OpaqueLite", "VertexShader": { "Entry": "vsRealityPbr" }, "PixelShader": { "Entry": "fsRealityPbr" }, "State" : { "AlphaBlend" : false, "WriteDepth" : true, "DepthCompareFunction" : "GreaterEqual" }, "FunctionConstants" : { "EnableClearcoat" : "false", "EnableClearcoatNormalMap" : "false", "VertexColorOption" : "0", "EnableIBL" : "true", "UseBaseColorMapAsTintMask" : "false", "EnableAREnvProbe" : "false", "EnableDynamicLighting" : "false", "EnableCloth" : "false", "EnableSSAO" : "false", "EnableSSDO" : "false", "EnableAnisotropy" : "false", "EnableAreaLight" : "false", "EnableBaseColorMap" : "true", "EnableEmissiveMap" : "false", "EnableSeparateRMAS" : "true", "EnableSingleRMAS" : "false", "EnableRoughnessMap" : "false", "EnableMetallicMap" : "false", "EnableAOMap" : "false", "EnableSpecularMap" : "false", "EnableOpacityMap" : "false", "EnableOpacityThreshold" : "false", "EnableTransparency" : "false", "EnableNormalMap" : "false", "EnableWorldSpaceNormalMap" : "false", "EnableMultiscatter" : "true", "EnableNdfFiltering" : "true", "EnableIBLRotation" : "false", "EnableIBLDirectionsBend" : "false", "DiffuseOption" : "1", "SpecularOption" : "1", "EnableShadowedDynamicLight": "false", "EnableGlow" : "false", "EnableBtMask" : "false", "EnableUIBlending" : "false", "EnableNearFieldVignetting" : "false", "EnableSpecularPerQuadRoughness" : "true", "DisableFadeOpacity" : "true", "PortalClippingMode" : "0", "EnableVirtualEnvironmentProbes" : "false", "EnableISPTonemap" : "true", "PortalEnableProbeLightingBlend" : "false" }, "DefaultVariations" : [ "OpaqueCommon", "TextureCommon" ], "DebugMapping": "PbrDebug", "SupportsRuntimeFunctionConstants" : true, "PreloadOptions" : { "PixelFormat" : [81, 115], "SampleCount" : [4, 1] }, "UseDynamicAttributeStride" : true, "AllowRuntimeTechniqueStateOverride" : true }, { "Name": "Shadow", "VertexShader": { "Entry": "vsShadow" }, "PixelShader": { "Entry": "fsShadow" }, "State" : { "ColorWriteMask" : "None" }, "InstancedArguments" : [ "instanceConstantsArray" ], "DefaultVariations" : [ "ShadowCommon" ], "SupportsRuntimeFunctionConstants" : true }, { "Name": "TransparentOverdraw", "VertexShader": { "Entry": "vsRealityPbr" }, "PixelShader": { "Entry": "fsOverdrawDebug" }, "State" : { "WriteDepth" : true, "DepthCompareFunction" : "GreaterEqual", "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "One", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "One", "RenderAttachmentState" : [ { "AlphaBlend" : true, "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "One", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "One" } ] }, "InstancedArguments" : [ "instanceConstantsArray", "realityPbrConstantsArray" ], "DebugMapping": "PbrDebug" }, { "Name": "OpaqueOverdraw", "VertexShader": { "Entry": "vsRealityPbr" }, "PixelShader": { "Entry": "fsOverdrawDebug" }, "State" : { "AlphaBlend" : false, "WriteDepth" : true, "DepthCompareFunction" : "GreaterEqual", "AlphaBlendOperation" : "Add", "AlphaSourceFactor" : "One", "AlphaDestinationFactor" : "One", "RgbBlendOperation" : "Add", "RgbSourceFactor" : "One", "RgbDestinationFactor" : "One" }, "InstancedArguments" : [ "instanceConstantsArray", "realityPbrConstantsArray" ], "DebugMapping": "PbrDebug" }, { "Name": "DepthOnly", "InheritFromTechnique": "Opaque", "InheritState": false, "State" : { "ColorWriteMask" : "None", "WriteDepth": true, "DepthCompareFunction": "Greater" } }, { "Name": "FadeOpaque", "InheritFromTechnique": "Transparent", "InheritState": true, "FunctionConstants" : { "EnableTransparency" : "false" } }, { "Name": "FadeOpaqueLite", "InheritFromTechnique": "TransparentLite", "InheritState": true, "FunctionConstants" : { "EnableTransparency" : "false" } }, { "Name": "FadeOpaque_BackCompat", "InheritFromTechnique": "FadeOpaque", "InheritState": true, "Tags" : { "Transparent_BackCompat" : "True" } }, { "Name": "FadeOpaqueLite_BackCompat", "InheritFromTechnique": "FadeOpaqueLite", "InheritState": true, "Tags" : { "Transparent_BackCompat" : "True" } } ], "TechniqueQualityLevelSet": [ { "Name" : "OpaquePBRSet", "TechniqueSetBaseline" : "Opaque", "Techniques": ["Opaque", "OpaqueLite"] }, { "Name" : "TransparentPBRSet", "TechniqueSetBaseline" : "Transparent", "Techniques": ["Transparent", "TransparentLite"] } ], "ShaderCompilationMode" : { "Shadow" : 2, "FadeOpaque" : 2 } }