- removed array length() function from shadowmap shader
Array's length() function is not yet supported by SPIRV-cross and MoltenVK Its usage was replaced by explicit nodes count value passed as uniform
This commit is contained in:
parent
756c593e96
commit
da2d0e47e6
6 changed files with 13 additions and 3 deletions
|
|
@ -195,6 +195,7 @@ void FGLRenderer::UpdateShadowMap()
|
|||
|
||||
mShadowMapShader->Bind();
|
||||
mShadowMapShader->Uniforms->ShadowmapQuality = gl_shadowmap_quality;
|
||||
mShadowMapShader->Uniforms->NodesCount = screen->mShadowMap.NodesCount();
|
||||
mShadowMapShader->Uniforms.Set();
|
||||
|
||||
glViewport(0, 0, gl_shadowmap_quality, 1024);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue