glDepthRange and glPolygonOffset.

This commit is contained in:
jussi
2024-10-25 21:19:42 +03:00
parent ab995f3453
commit cddfc09ccc
11 changed files with 87 additions and 13 deletions

View File

@@ -100,8 +100,8 @@ function RL.init()
lightTex = RL.LoadTexture( RL.GetBasePath().."../resources/images/light.png" )
lightTexSize = Vector2:newT( RL.GetTextureSize( lightTex ) )
RL.SetTextureFilter( tileTex, RL.TEXTURE_FILTER_TRILINEAR )
RL.SetTextureFilter( lightTex, RL.TEXTURE_FILTER_TRILINEAR )
RL.SetTextureFilter( tileTex, RL.TEXTURE_FILTER_BILINEAR )
RL.SetTextureFilter( lightTex, RL.TEXTURE_FILTER_BILINEAR )
createShadowMesh()