mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add 'u_alphaClip' to entity shader
This commit is contained in:
parent
495e444d1f
commit
0144709e03
2 changed files with 3 additions and 1 deletions
|
|
@ -153,6 +153,7 @@ void WorldRenderer::renderLevel(
|
|||
frustumCulling->update(camera.getProjView());
|
||||
}
|
||||
|
||||
entityShader.uniform1i("u_alphaClip", true);
|
||||
level.entities->render(
|
||||
assets,
|
||||
*modelBatch,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue