Add RenderState.SetDepthFadeFalloff
This commit is contained in:
parent
1b8effe1ea
commit
c62bb7a0f0
8 changed files with 20 additions and 3 deletions
|
|
@ -258,6 +258,8 @@ void VkRenderState::ApplyRenderPass(int dt)
|
|||
pipelineKey.ShaderKey.Detailmap = (uTextureMode & TEXF_Detailmap) != 0;
|
||||
pipelineKey.ShaderKey.Glowmap = (uTextureMode & TEXF_Glowmap) != 0;
|
||||
|
||||
pipelineKey.ShaderKey.DepthFadeFalloff = mSurfaceUniforms.uDepthFadeFalloff > 0.0f;
|
||||
|
||||
// The way GZDoom handles state is just plain insanity!
|
||||
int fogset = 0;
|
||||
if (mFogEnabled)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue