OpenGL ES SDK for Android ARM Developer Center
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
update.cs File Reference

Go to the source code of this file.

Macros

#define LOWQ_NOISE
 

Functions

 layout (local_size_x=64) 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
 

Macro Definition Documentation

#define LOWQ_NOISE

Definition at line 44 of file update.cs.

Function Documentation

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 
)

Definition at line 176 of file update.cs.

vec3 gradphi ( vec3  p)

Definition at line 66 of file update.cs.

layout ( local_size_x  = 64)
layout ( std140  ,
binding  = 0 
)

Definition at line 24 of file update.cs.

void main ( )

Definition at line 73 of file update.cs.

float phi ( vec3  p)

Definition at line 59 of file update.cs.

float ramp ( float  r)

Definition at line 51 of file update.cs.

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 
)

Definition at line 140 of file update.cs.

vec3 SimplexPerlin3D_Deriv ( vec3  P)

Definition at line 216 of file update.cs.

Variable Documentation

Definition at line 29 of file update.cs.

const vec3 dx = eps.xyy

Definition at line 38 of file update.cs.

const vec3 dy = eps.yxy

Definition at line 39 of file update.cs.

const vec3 dz = eps.yyx

Definition at line 40 of file update.cs.

uniform vec3 emitterPos

Definition at line 34 of file update.cs.

const vec2 eps = vec2(0.002, 0.0)

Definition at line 37 of file update.cs.

uniform float particleLifetime

Definition at line 36 of file update.cs.

const float regionLength = 2.0

Definition at line 41 of file update.cs.

uniform vec3 seed

Definition at line 33 of file update.cs.

uniform vec3 spherePos

Definition at line 35 of file update.cs.

uniform float time

Definition at line 32 of file update.cs.