HairShortCutGeometryShading.shader 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "Source" : "HairShortCutGeometryShading.azsl",
  3. "DrawList" : "HairGeometryShadingDrawList",
  4. "DepthStencilState" :
  5. {
  6. "Depth" :
  7. {
  8. "Enable" : true,
  9. "WriteMask" : "Zero", // Avoid writing the depth
  10. "CompareFunc" : "GreaterEqual"
  11. // Originally in TressFX this is LessEqual - Atom is using reverse sort
  12. },
  13. "Stencil" :
  14. {
  15. "Enable" : false
  16. }
  17. },
  18. "GlobalTargetBlendState" :
  19. {
  20. "Enable" : true,
  21. "BlendSource" : "One",
  22. "BlendDest" : "One",
  23. "BlendOp" : "Add",
  24. "BlendAlphaSource" : "One",
  25. "BlendAlphaDest" : "One",
  26. "BlendAlphaOp" : "Add"
  27. },
  28. "ProgramSettings":
  29. {
  30. "EntryPoints":
  31. [
  32. {
  33. "name": "RenderHairVS",
  34. "type": "Vertex"
  35. },
  36. {
  37. "name": "HairShortCutGeometryColorPS",
  38. "type": "Fragment"
  39. }
  40. ]
  41. }
  42. }