mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
fix particles normals
This commit is contained in:
parent
7a98f0c411
commit
a585b52aa2
4 changed files with 33 additions and 30 deletions
|
|
@ -146,6 +146,7 @@ void PrecipitationRenderer::render(
|
|||
pos,
|
||||
face.right,
|
||||
{0, 1, 0},
|
||||
glm::cross(glm::vec3(0, 1, 0), face.right),
|
||||
FACE_SIZE,
|
||||
light_at(chunks, pos.x, y, pos.z),
|
||||
glm::vec3(1.0f),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue