MinimalMultilayerPBR.materialtype 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "description": "This material type is for testing features realated to the 'Remixable Material Types' RFC. It is only here temporarily until we get StandardMultilayerPBR factored out using the new features. At that time, we can remove this material type.",
  3. "version": 1,
  4. "propertyLayout": {
  5. "propertyGroups": [
  6. {
  7. "name": "blend",
  8. "displayName": "Blend",
  9. "description": "Controls how the layers blend together.",
  10. "properties": [
  11. {
  12. "name": "texture",
  13. "displayName": "Blend Mask Texture",
  14. "description": "Grayscale image where black is layer 1 and white is layer 2.",
  15. "type": "Image",
  16. "defaultValue": "Textures/DefaultBlendMask_layers.png",
  17. "connection": {
  18. "type": "ShaderInput",
  19. "name": "m_blendMaskTexture"
  20. }
  21. }
  22. ]
  23. },
  24. {
  25. "$import": {
  26. "filename": "MinimalMultilayerPBR_LayerProperties.json",
  27. "patch": {
  28. "name": "layer1",
  29. "displayName": "Layer 1",
  30. "shaderInputsPrefix": "m_layer1_",
  31. "shaderOptionsPrefix": "o_layer1_"
  32. }
  33. }
  34. },
  35. {
  36. "$import": {
  37. "filename": "MinimalMultilayerPBR_LayerProperties.json",
  38. "patch": {
  39. "name": "layer2",
  40. "displayName": "Layer 2",
  41. "shaderInputsPrefix": "m_layer2_",
  42. "shaderOptionsPrefix": "o_layer2_"
  43. }
  44. }
  45. }
  46. ]
  47. },
  48. "shaders": [
  49. {
  50. "file": "./MinimalMultilayerPBR_ForwardPass.shader"
  51. },
  52. {
  53. "file": "Shaders/Shadow/Shadowmap.shader"
  54. },
  55. {
  56. "file": "Shaders/Depth/DepthPass.shader"
  57. }
  58. ],
  59. "functors": [
  60. ]
  61. }