Initial commit for forward software reflection

This commit is contained in:
ExMatics HydrogenC
2024-06-17 23:00:48 +08:00
parent 2676daabf1
commit 5f939430ee
4 changed files with 62 additions and 4 deletions

View File

@@ -178,6 +178,7 @@ bool ForwardMaterialShader::Load()
psDesc.VS = _shader->GetVS("VS");
if (psDesc.VS == nullptr)
return true;
psDesc.PS = _shader->GetPS("PS_Forward");
psDesc.DepthWriteEnable = false;
psDesc.BlendMode = BlendingMode::AlphaBlend;