123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- {
- "shaderTemplates": [
- {
- "shader": "./DeferredMaterialPass.shader.template",
- "azsli": "./DeferredMaterialPass.azsli",
- "tag": "main"
- },
- {
- "shader": "./DeferredMaterialPass_CustomZ.shader.template",
- "azsli": "./DeferredMaterialPass.azsli",
- "tag": "main_customZ"
- },
- {
- "shader": "Materials/Pipelines/Common/DepthPass.shader.template",
- "azsli": "Materials/Pipelines/Common/DepthPass.azsli",
- "tag": "depth"
- },
- {
- "shader": "Materials/Pipelines/Common/DepthPass_CustomZ.shader.template",
- "azsli": "Materials/Pipelines/Common/DepthPass_CustomZ.azsli",
- "tag": "depth_customZ"
- },
- {
- "shader": "Materials/Pipelines/Common/ShadowmapPass.shader.template",
- "azsli": "Materials/Pipelines/Common/DepthPass.azsli",
- "tag": "shadow"
- },
- {
- "shader": "Materials/Pipelines/Common/ShadowmapPass_CustomZ.shader.template",
- "azsli": "Materials/Pipelines/Common/DepthPass_CustomZ.azsli",
- "tag": "shadow_customZ"
- },
- // This deferred pipeline uses the same transparent pass as the main pipeline
- {
- "shader": "Materials/Pipelines/MainPipeline/Transparent_StandardLighting.shader.template",
- "azsli": "Materials/Pipelines/MainPipeline/Transparent_StandardLighting.azsli",
- "tag": "transparent"
- },
- {
- "shader": "Materials/Pipelines/MainPipeline/TintedTransparent_StandardLighting.shader.template",
- "azsli": "Materials/Pipelines/MainPipeline/Transparent_StandardLighting.azsli",
- "tag": "tintedTransparent"
- },
- {
- "shader": "Materials/Pipelines/MainPipeline/Transparent_EnhancedLighting.shader.template",
- "azsli": "Materials/Pipelines/MainPipeline/Transparent_EnhancedLighting.azsli",
- "tag": "transparent"
- },
- {
- "shader": "Materials/Pipelines/MainPipeline/TintedTransparent_EnhancedLighting.shader.template",
- "azsli": "Materials/Pipelines/MainPipeline/Transparent_EnhancedLighting.azsli",
- "tag": "tintedTransparent"
- }
- ],
- "runtime": {
- "properties": [
- {
- "name": "isTransparent",
- "type": "Bool",
- "defaultValue": false
- },
- {
- "name": "isTintedTransparent",
- "type": "Bool",
- "defaultValue": false
- },
- {
- "name": "castShadows",
- "type": "Bool",
- "defaultValue": true
- },
- {
- "name": "doubleSided",
- "type": "Bool",
- "defaultValue": false
- },
- {
- "name": "hasPerPixelDepth",
- "type": "Bool",
- "defaultValue": false
- },
- {
- "name": "hasPerPixelClip",
- "type": "Bool",
- "defaultValue": false
- }
- ],
- "functors":
- [
- {
- "type": "Lua",
- "args": {
- //TODO(MaterialPipeline): Make the builder touch up this path so it can be relative to the .materialpipeline file
- "file": "Materials/Pipelines/Common/ShaderEnable.lua"
- }
- },
- {
- "type": "Lua",
- "args": {
- //TODO(MaterialPipeline): Make the builder touch up this path so it can be relative to the .materialpipeline file
- "file": "Materials/Pipelines/Common/DoubleSided.lua"
- }
- }
- ]
- },
- "pipelineScript": "./DeferredPipelineScript.lua"
- }
|