Fix sky color being too dark
This commit is contained in:
@@ -99,7 +99,11 @@ void Sky::Draw(RenderContext& renderContext)
|
||||
psDesc.CullMode = CullMode::Inverted;
|
||||
psDesc.DepthWriteEnable = false;
|
||||
psDesc.DepthClipEnable = false;
|
||||
#if FLAX_REVERSE_Z
|
||||
psDesc.DepthFunc = ComparisonFunc::GreaterEqual;
|
||||
#else
|
||||
psDesc.DepthFunc = ComparisonFunc::LessEqual;
|
||||
#endif
|
||||
|
||||
if (_psSky->Init(psDesc))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user