Exposing / Unifying the rasterstate depth bias values for all the shadowmap shaders (#7150)

Signed-off-by: mrieggeramzn <mriegger@amazon.com>
This commit is contained in:
mrieggeramzn
2022-01-26 16:04:12 -08:00
committed by GitHub
parent b9824ed172
commit 50982b8283
5 changed files with 29 additions and 1 deletions
@@ -7,6 +7,14 @@
"DrawList" : "shadow",
// Note that lights now expose their own bias controls.
// It may be worth increasing their default values in the future and reducing the depthBias values encoded here.
"RasterState" :
{
"depthBias" : "10",
"depthBiasSlopeScale" : "4"
},
"ProgramSettings":
{
"EntryPoints":
@@ -7,6 +7,14 @@
"DrawList" : "shadow",
// Note that lights now expose their own bias controls.
// It may be worth increasing their default values in the future and reducing the depthBias values encoded here.
"RasterState" :
{
"depthBias" : "10",
"depthBiasSlopeScale" : "4"
},
"ProgramSettings":
{
"EntryPoints":
@@ -6,7 +6,15 @@
},
"DrawList" : "shadow",
// Note that lights now expose their own bias controls.
// It may be worth increasing their default values in the future and reducing the depthBias values encoded here.
"RasterState" :
{
"depthBias" : "10",
"depthBiasSlopeScale" : "4"
},
"ProgramSettings":
{
"EntryPoints":
@@ -7,6 +7,8 @@
"DrawList" : "shadow",
// Note that lights now expose their own bias controls.
// It may be worth increasing their default values in the future and reducing the depthBias values encoded here.
"RasterState" :
{
"depthBias" : "10",
@@ -7,6 +7,8 @@
"DrawList" : "shadow",
// Note that lights now expose their own bias controls.
// It may be worth increasing their default values in the future and reducing the depthBias values encoded here.
"RasterState" :
{
"depthBias" : "10",