![]() |
Mali OpenGL ES SDK v2.4.4
Mali Developer Center
Use of the code snippets present within these pages are subject to these EULA terms
|
Macros | |
| #define | LOWQ_NOISE |
Functions | |
| layout (local_size_x=8) in | |
| layout (std140, binding=0) buffer SpawnBuffer | |
| void | Simplex3D_GetCornerVectors (vec3 P, out vec3 Pi, out vec3 Pi_1, out vec3 Pi_2, out vec4 v1234_x, out vec4 v1234_y, out vec4 v1234_z) |
| void | FAST32_hash_3D (vec3 gridcell, vec3 v2_mask, out vec4 hash_0, out vec4 hash_1, out vec4 hash_2) |
| vec3 | SimplexPerlin3D_Deriv (vec3 P) |
| float | ramp (float r) |
| float | phi (vec3 p) |
| vec3 | gradphi (vec3 p) |
| void | main () |
| void | FAST32_hash_3D (vec3 gridcell, vec3 v1_mask, vec3 v2_mask, out vec4 hash_0, out vec4 hash_1, out vec4 hash_2) |
Variables | |
| uniform float | dt |
| uniform float | time |
| uniform vec3 | seed |
| uniform vec3 | emitterPos |
| uniform vec3 | spherePos |
| uniform float | particleLifetime |
| const vec2 | eps = vec2(0.002, 0.0) |
| const vec3 | dx = eps.xyy |
| const vec3 | dy = eps.yxy |
| const vec3 | dz = eps.yyx |
| const float | regionLength = 2.0 |
| #define LOWQ_NOISE |
| void FAST32_hash_3D | ( | vec3 | gridcell, |
| vec3 | v2_mask, | ||
| out vec4 | hash_0, | ||
| out vec4 | hash_1, | ||
| out vec4 | hash_2 | ||
| ) |
| void FAST32_hash_3D | ( | vec3 | gridcell, |
| vec3 | v1_mask, | ||
| vec3 | v2_mask, | ||
| out vec4 | hash_0, | ||
| out vec4 | hash_1, | ||
| out vec4 | hash_2 | ||
| ) |
| layout | ( | local_size_x | = 8 | ) |
| layout | ( | std140 | , |
| binding | = 0 |
||
| ) |
| void main | ( | void | ) |
| void Simplex3D_GetCornerVectors | ( | vec3 | P, |
| out vec3 | Pi, | ||
| out vec3 | Pi_1, | ||
| out vec3 | Pi_2, | ||
| out vec4 | v1234_x, | ||
| out vec4 | v1234_y, | ||
| out vec4 | v1234_z | ||
| ) |
| const vec3 dx = eps.xyy |
| const vec3 dy = eps.yxy |
| const vec3 dz = eps.yyx |
| const float regionLength = 2.0 |