Kinetic Visualization (Visualisierung 2 - S2012)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
particles.frag File Reference

Functions

vec4 computeFragColor (vec4 color)
vec3 blinn (vec3 N, vec3 V, vec3 L, int light)
void main ()

Variables

varying vec4 WorldPosition
varying vec4 pos
varying vec2 texC
varying vec3 g
varying vec3 frag_position
uniform sampler2D particle_texture
uniform vec3 light_position [4]
uniform bool light_enable [4]
uniform vec3 eye_position
uniform bool particle_shading_enabled

Function Documentation

vec3 blinn ( vec3  N,
vec3  V,
vec3  L,
int  light 
)
vec4 computeFragColor ( vec4  color)
void main ( void  )

Variable Documentation

uniform vec3 eye_position
varying vec3 frag_position
varying vec3 g
uniform bool light_enable[4]
uniform vec3 light_position[4]
uniform bool particle_shading_enabled
uniform sampler2D particle_texture
varying vec4 pos
varying vec2 texC
varying vec4 WorldPosition