mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix particles normals
This commit is contained in:
parent
7a98f0c411
commit
a585b52aa2
4 changed files with 33 additions and 30 deletions
|
|
@ -134,6 +134,7 @@ void ParticlesRenderer::renderParticles(const Camera& camera, float delta) {
|
|||
particle.position,
|
||||
localRight,
|
||||
localUp,
|
||||
-camera.front,
|
||||
preset.size * scale,
|
||||
light,
|
||||
glm::vec3(1.0f),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue