ShadowmapPass.shader.template 602 B

12345678910111213141516171819202122232425262728
  1. {
  2. "Source" : "INSERT_AZSL_HERE",
  3. "DepthStencilState" : {
  4. "Depth" : { "Enable" : true, "CompareFunc" : "LessEqual" }
  5. },
  6. "DrawList" : "shadow",
  7. // Note that lights now expose their own bias controls.
  8. // It may be worth increasing their default values in the future and reducing the depthBias values encoded here.
  9. "RasterState" :
  10. {
  11. "depthBias" : "10",
  12. "depthBiasSlopeScale" : "4"
  13. },
  14. "ProgramSettings":
  15. {
  16. "EntryPoints":
  17. [
  18. {
  19. "name": "MainVS",
  20. "type": "Vertex"
  21. }
  22. ]
  23. }
  24. }