Add velocities and padding to the particle data
authorCassie Jones <code@witchoflight.com>
Fri, 31 Jan 2020 10:13:41 +0000 (05:13 -0500)
committerCassie Jones <code@witchoflight.com>
Fri, 31 Jan 2020 10:13:41 +0000 (05:13 -0500)
commitf0c335d837a2a3f48161c9d4020a7d2d8bcb7077
treea30457f472c47a418dc06f72bba382747f4f2fd4
parent2bff9c55d239c5c3a5586eb40b3b25d4d2c9d555
Add velocities and padding to the particle data

For now I'm using 2 vec4 of padding because LÖVR's ShaderBlock API
doesn't know about struct types or non-square matrices, and I need a
type which can hold 2 vec4, so I just pretend I'm sending a mat4 and
receive it as a struct of 4 vec4 on the shader side.
README.md [new file with mode: 0644]
main.lua
shaders/particles.frag
shaders/particles.vert