Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gpu_shader_material_particle_info.glsl « material « shaders « gpu « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5602345ea4af8342952a37626784e9ff1867a861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
void particle_info(out float index,
                   out float random,
                   out float age,
                   out float life_time,
                   out vec3 location,
                   out float size,
                   out vec3 velocity,
                   out vec3 angular_velocity)
{
  /* Unsupported for now. */
  index = 0.0;
  random = 0.0;
  age = 0.0;
  life_time = 0.0;
  size = 0.0;

  location = vec3(0.0);
  velocity = vec3(0.0);
  angular_velocity = vec3(0.0);
}