Merge pull request #8835 from ippan/particles_shader_index
add index to particles glsl
This commit is contained in:
@@ -132,6 +132,7 @@ void main() {
|
||||
}
|
||||
|
||||
uint particle_number = current_cycle * uint(total_particles) + uint(gl_VertexID);
|
||||
int index = int(gl_VertexID);
|
||||
|
||||
if (restart) {
|
||||
shader_active=emitting;
|
||||
|
||||
Reference in New Issue
Block a user